Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.weaBus.TDryBul|roo.air.vol.T",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade") translateModel(Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.weaBus.TDryBul|roo.air.vol.T",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 114.6 kB / 16.42 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.001389/0.001389, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.686/2.686, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8893, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade): time 0.2423/1.132, allocations: 218.6 MB / 1.44 GB, free: 2.066 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.06926/1.201, allocations: 38.01 MB / 1.477 GB, free: 11.93 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01373/1.215, allocations: 326.2 kB / 1.477 GB, free: 11.61 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.01794/1.233, allocations: 6.456 MB / 1.484 GB, free: 5.125 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01917/1.252, allocations: 5.553 MB / 1.489 GB, free: 15.55 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01347/1.265, allocations: 4.931 MB / 1.494 GB, free: 10.62 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.048/1.313, allocations: 37.75 MB / 1.531 GB, free: 4.824 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02846/1.342, allocations: 18.15 MB / 1.548 GB, free: 2.566 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02267/1.365, allocations: 14.4 MB / 1.562 GB, free: 4.121 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.018/2.383, allocations: 12.94 MB / 1.575 GB, free: 44.69 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.01564/2.399, allocations: 2.695 MB / 1.578 GB, free: 44.69 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02663/2.425, allocations: 6.15 MB / 1.584 GB, free: 44.69 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.02134/2.447, allocations: 11.07 MB / 1.595 GB, free: 44.69 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0362/2.483, allocations: 12.46 MB / 1.607 GB, free: 42.7 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.07883/2.562, allocations: 43.24 MB / 1.649 GB, free: 37.93 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.259e-05/2.562, allocations: 0.7188 kB / 1.649 GB, free: 37.93 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.216e-06/2.562, allocations: 0 / 1.649 GB, free: 37.93 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.002075/2.564, allocations: 0.8125 kB / 1.649 GB, free: 37.93 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1984 * Number of variables: 1984 Notification: Performance of Generate backend data structure: time 0.1104/2.674, allocations: 28.19 MB / 1.676 GB, free: 27.45 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/2.675, allocations: 11.81 kB / 1.676 GB, free: 27.45 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0599/2.734, allocations: 10.87 MB / 1.687 GB, free: 22.77 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06963/2.804, allocations: 35.64 MB / 1.722 GB, free: 4.414 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001471/2.806, allocations: 1.329 MB / 1.723 GB, free: 2.945 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007331/2.813, allocations: 0.9269 MB / 1.724 GB, free: 2.023 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05077/2.864, allocations: 15.14 MB / 1.739 GB, free: 2.621 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004498/2.864, allocations: 25.41 kB / 1.739 GB, free: 2.605 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004896/2.869, allocations: 323.6 kB / 1.739 GB, free: 2.293 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003471/2.87, allocations: 282.2 kB / 1.739 GB, free: 2.016 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04535/2.915, allocations: 15.84 MB / 1.755 GB, free: 2.246 MB / 1.311 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.1988/3.114, allocations: 80.28 MB / 1.833 GB, free: 1.145 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02744/3.141, allocations: 11.11 MB / 1.844 GB, free: 6.055 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01774/3.159, allocations: 7.681 MB / 1.852 GB, free: 14.36 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/3.161, allocations: 0.698 MB / 1.852 GB, free: 13.55 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01993/3.181, allocations: 7.176 MB / 1.859 GB, free: 6.305 MB / 1.42 GB Notification: Performance of pre-optimization done (n=555): time 1.122e-05/3.181, allocations: 0 / 1.859 GB, free: 6.305 MB / 1.42 GB Notification: Performance of matching and sorting (n=555): time 0.09645/3.277, allocations: 30.39 MB / 1.889 GB, free: 7.668 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007042/3.278, allocations: 0.5811 MB / 1.89 GB, free: 7.031 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1102/3.388, allocations: 51.56 MB / 1.94 GB, free: 3.586 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.00413/3.393, allocations: 209.7 kB / 1.94 GB, free: 3.375 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.02056/3.413, allocations: 9.001 MB / 1.949 GB, free: 10.43 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.004386/3.418, allocations: 2.016 MB / 1.951 GB, free: 8.441 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02181/3.439, allocations: 7.434 MB / 1.958 GB, free: 1.02 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001279/3.44, allocations: 301.1 kB / 1.958 GB, free: 0.7227 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07528/3.515, allocations: 56.03 MB / 2.013 GB, free: 8.676 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08146/3.596, allocations: 58.93 MB / 2.071 GB, free: 13.18 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09591/3.692, allocations: 68.58 MB / 2.138 GB, free: 8.207 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.289e-05/3.692, allocations: 12 kB / 2.138 GB, free: 8.195 MB / 1.701 GB Notification: Performance of matching and sorting (n=2692) (initialization): time 0.9018/4.594, allocations: 124.8 MB / 2.26 GB, free: 0.6834 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005961/4.595, allocations: 382.5 kB / 2.26 GB, free: 0.6832 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1076/4.703, allocations: 90.04 MB / 2.348 GB, free: 0.6058 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0131/4.716, allocations: 4.784 MB / 2.353 GB, free: 0.6023 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01581/4.732, allocations: 3.007 MB / 2.356 GB, free: 0.6001 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/4.743, allocations: 12.39 MB / 2.368 GB, free: 0.5892 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02319/4.766, allocations: 2.642 MB / 2.37 GB, free: 0.5879 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003921/4.77, allocations: 467.6 kB / 2.371 GB, free: 0.5875 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07633/4.847, allocations: 66.19 MB / 2.435 GB, free: 0.5254 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06446/4.911, allocations: 58.9 MB / 2.493 GB, free: 478.6 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07762/4.989, allocations: 68.52 MB / 2.56 GB, free: 409.7 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.094e-05/4.989, allocations: 8 kB / 2.56 GB, free: 409.7 MB / 1.748 GB Notification: Performance of matching and sorting (n=2692) (initialization_lambda0): time 0.1508/5.14, allocations: 125.7 MB / 2.683 GB, free: 284.7 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004491/5.14, allocations: 385.7 kB / 2.683 GB, free: 284.3 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.109/5.249, allocations: 91.49 MB / 2.772 GB, free: 192.9 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/5.262, allocations: 4.668 MB / 2.777 GB, free: 188.3 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01588/5.278, allocations: 3.025 MB / 2.78 GB, free: 185.3 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03977/5.317, allocations: 37.64 MB / 2.816 GB, free: 146.9 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02445/5.342, allocations: 2.389 MB / 2.819 GB, free: 144.7 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004656/5.347, allocations: 467.6 kB / 2.819 GB, free: 144.3 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 65 (roo.irRadExc.Q_flow[6],$PRE.roo.irRadExc.Q_flow[6],roo.irRadExc.Q_flow[5],$PRE.roo.irRadExc.Q_flow[5],$whenCondition6,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,roo.solRadExc.is_flo[11],roo.solRadExc.is_flo[10],roo.solRadExc.is_flo[9],roo.solRadExc.is_flo[8],roo.solRadExc.is_flo[7],roo.solRadExc.is_flo[6],roo.solRadExc.is_flo[5],roo.solRadExc.is_flo[4],roo.solRadExc.is_flo[3],roo.solRadExc.is_flo[2],roo.solRadExc.is_flo[1],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,roo.irRadExc.Q_flow[4],$PRE.roo.irRadExc.Q_flow[4],roo.irRadExc.Q_flow[3],$PRE.roo.irRadExc.Q_flow[3],roo.irRadExc.Q_flow[2],$PRE.roo.irRadExc.Q_flow[2],roo.irRadExc.Q_flow[1],$PRE.roo.irRadExc.Q_flow[1],roo.irRadExc.G[6],$PRE.roo.irRadExc.G[6],roo.irRadExc.G[5],$PRE.roo.irRadExc.G[5],roo.irRadExc.G[4],$PRE.roo.irRadExc.G[4],roo.irRadExc.G[3],$PRE.roo.irRadExc.G[3],roo.irRadExc.G[2],$PRE.roo.irRadExc.G[2],roo.irRadExc.G[1],$PRE.roo.irRadExc.G[1],roo.bouConExtWin.HDifTil[2].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDifTil[2].incAng.decAng.tNext,roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,roo.bouConExtWin.HDirTil[2].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDirTil[2].incAng.decAng.tNext,roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1142): * Single equations (assignments): 1062 * Array equations: 72 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(7,50), (6,51), (1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.006895/5.353, allocations: 1.085 MB / 2.82 GB, free: 143.2 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007122/5.361, allocations: 1.878 MB / 2.822 GB, free: 141.3 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04216/5.403, allocations: 19.55 MB / 2.841 GB, free: 121.7 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001272/5.403, allocations: 23.91 kB / 2.841 GB, free: 121.6 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/5.403, allocations: 3.984 kB / 2.841 GB, free: 121.6 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01358/5.417, allocations: 4.942 MB / 2.846 GB, free: 116.7 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008085/5.425, allocations: 195.9 kB / 2.846 GB, free: 116.6 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0144/5.439, allocations: 0.8797 MB / 2.847 GB, free: 115.7 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002559/5.442, allocations: 435 kB / 2.848 GB, free: 115.2 MB / 1.748 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03988/5.482, allocations: 19.57 MB / 2.867 GB, free: 95.65 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04475/5.526, allocations: 25.81 MB / 2.892 GB, free: 69.68 MB / 1.748 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01041/5.537, allocations: 7.849 MB / 2.9 GB, free: 61.79 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.04961/5.586, allocations: 34.5 MB / 2.933 GB, free: 27.38 MB / 1.748 GB Notification: Performance of Backend: time 1.192e-06/5.586, allocations: 0 / 2.933 GB, free: 27.38 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.8468/6.433, allocations: 138.2 MB / 3.068 GB, free: 0.6568 GB / 1.748 GB Notification: Performance of SimCode: time 0.111/6.544, allocations: 62.67 MB / 3.129 GB, free: 0.603 GB / 1.748 GB Notification: Performance of Templates: time 0.6889/7.233, allocations: 488.4 MB / 3.606 GB, free: 135.2 MB / 1.748 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Validation_TestConditionalConstructions_SampledModel_OnlyExteriorWallWithWindowExteriorShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlyExteriorWallWithWindowExteriorShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches