Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 109.7 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.89 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6893, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.04019/0.7296, allocations: 37.06 MB / 1.125 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.8993, allocations: 160.4 MB / 1.281 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.9024, allocations: 59.62 kB / 1.281 GB, free: 8.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.9049, allocations: 0.7074 MB / 1.282 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.9114, allocations: 1.942 MB / 1.284 GB, free: 5.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005934/0.9173, allocations: 2.21 MB / 1.286 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01365/0.931, allocations: 12.98 MB / 1.299 GB, free: 6.223 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008492/0.9395, allocations: 6.6 MB / 1.305 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008368/0.9479, allocations: 4.597 MB / 1.31 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005753/0.9537, allocations: 3.91 MB / 1.314 GB, free: 7.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00191/0.9556, allocations: 0.6758 MB / 1.314 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.9607, allocations: 1.974 MB / 1.316 GB, free: 4.371 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002399/0.9632, allocations: 1.616 MB / 1.318 GB, free: 2.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005344/0.9685, allocations: 3.22 MB / 1.321 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.9804, allocations: 9.41 MB / 1.33 GB, free: 6.078 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.9804, allocations: 0 / 1.33 GB, free: 6.078 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9805, allocations: 0 / 1.33 GB, free: 6.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002525/0.9807, allocations: 0 / 1.33 GB, free: 6.078 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1067 * Number of variables: 1067 Notification: Performance of Generate backend data structure: time 0.01563/0.9963, allocations: 6.3 MB / 1.336 GB, free: 15.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.9964, allocations: 8.031 kB / 1.336 GB, free: 15.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008243/1.005, allocations: 1.282 MB / 1.338 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/1.015, allocations: 4.917 MB / 1.342 GB, free: 9.414 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/1.016, allocations: 308.1 kB / 1.343 GB, free: 9.109 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/1.017, allocations: 415.9 kB / 1.343 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/1.029, allocations: 5.931 MB / 1.349 GB, free: 2.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/1.029, allocations: 11.94 kB / 1.349 GB, free: 2.559 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/1.03, allocations: 183.9 kB / 1.349 GB, free: 2.379 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/1.03, allocations: 187.9 kB / 1.349 GB, free: 2.195 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/1.041, allocations: 5.624 MB / 1.355 GB, free: 12.57 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02958/1.071, allocations: 20.93 MB / 1.375 GB, free: 6.867 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/1.078, allocations: 3.767 MB / 1.379 GB, free: 3.098 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00368/1.082, allocations: 1.943 MB / 1.381 GB, free: 1.152 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002197/1.084, allocations: 1.915 MB / 1.383 GB, free: 14.85 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00443/1.089, allocations: 2.213 MB / 1.385 GB, free: 12.59 MB / 1.123 GB Notification: Performance of pre-optimization done (n=282): time 4.458e-06/1.089, allocations: 0 / 1.385 GB, free: 12.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=282): time 0.01291/1.102, allocations: 5.336 MB / 1.39 GB, free: 7.176 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.102, allocations: 243.8 kB / 1.39 GB, free: 6.887 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005884/1.108, allocations: 3.878 MB / 1.394 GB, free: 2.98 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/1.108, allocations: 81.7 kB / 1.394 GB, free: 2.895 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0018/1.11, allocations: 2.089 MB / 1.396 GB, free: 0.7852 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009137/1.111, allocations: 0.9475 MB / 1.397 GB, free: 15.82 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009664/1.112, allocations: 0.6313 MB / 1.398 GB, free: 15.18 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/1.112, allocations: 301.1 kB / 1.398 GB, free: 14.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/1.115, allocations: 1.647 MB / 1.4 GB, free: 13.23 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/1.119, allocations: 2.303 MB / 1.402 GB, free: 10.67 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007585/1.127, allocations: 4.018 MB / 1.406 GB, free: 6.387 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.127, allocations: 4 kB / 1.406 GB, free: 6.383 MB / 1.139 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01003/1.137, allocations: 4.579 MB / 1.41 GB, free: 1.758 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.137, allocations: 12 kB / 1.41 GB, free: 1.746 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.137, allocations: 16 kB / 1.41 GB, free: 1.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/1.138, allocations: 113.1 kB / 1.41 GB, free: 1.617 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/1.141, allocations: 0.7917 MB / 1.411 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.144, allocations: 2.283 MB / 1.413 GB, free: 14.37 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/1.148, allocations: 468.2 kB / 1.414 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.148, allocations: 159.9 kB / 1.414 GB, free: 13.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005739/1.154, allocations: 2.969 MB / 1.417 GB, free: 10.78 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004062/1.158, allocations: 2.299 MB / 1.419 GB, free: 8.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007736/1.166, allocations: 4.01 MB / 1.423 GB, free: 3.953 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-05/1.166, allocations: 8 kB / 1.423 GB, free: 3.945 MB / 1.154 GB Notification: Performance of matching and sorting (n=397) (initialization_lambda0): time 0.01046/1.176, allocations: 4.567 MB / 1.427 GB, free: 15.33 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.176, allocations: 12 kB / 1.427 GB, free: 15.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.176, allocations: 16 kB / 1.427 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005816/1.177, allocations: 117.5 kB / 1.428 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/1.181, allocations: 0.7839 MB / 1.428 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.183, allocations: 1.689 MB / 1.43 GB, free: 12.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.188, allocations: 395.8 kB / 1.43 GB, free: 12.18 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/1.188, allocations: 151.9 kB / 1.431 GB, free: 12.03 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000928/1.189, allocations: 382 kB / 1.431 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.191, allocations: 411 kB / 1.431 GB, free: 11.24 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/1.202, allocations: 4.551 MB / 1.436 GB, free: 6.633 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008135/1.21, allocations: 3.671 MB / 1.439 GB, free: 2.875 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.21, allocations: 3.938 kB / 1.439 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.213, allocations: 1.042 MB / 1.44 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/1.214, allocations: 71.83 kB / 1.44 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/1.217, allocations: 247.7 kB / 1.441 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/1.218, allocations: 190.1 kB / 1.441 GB, free: 1.305 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01109/1.229, allocations: 4.266 MB / 1.445 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01341/1.242, allocations: 6.608 MB / 1.451 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003633/1.246, allocations: 1.885 MB / 1.453 GB, free: 4.406 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005003/1.251, allocations: 2.741 MB / 1.456 GB, free: 1.652 MB / 1.186 GB Notification: Performance of Backend: time 1.904e-06/1.251, allocations: 0 / 1.456 GB, free: 1.652 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.266, allocations: 5.943 MB / 1.462 GB, free: 11.92 MB / 1.201 GB Notification: Performance of SimCode: time 0.02093/1.287, allocations: 10.63 MB / 1.472 GB, free: 1.312 MB / 1.201 GB Notification: Performance of Templates: time 0.1558/1.443, allocations: 108.7 MB / 1.578 GB, free: 5.34 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches