Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.weaBus.TDryBul|roo.air.vol.T",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary") translateModel(Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.weaBus.TDryBul|roo.air.vol.T",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.4 kB / 16.41 MB, free: 6.441 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.001297/0.001298, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8243, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary): time 0.2282/1.053, allocations: 219.4 MB / 1.382 GB, free: 7.617 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.06203/1.115, allocations: 38.26 MB / 1.419 GB, free: 1.242 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01071/1.125, allocations: 334.2 kB / 1.419 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.009234/1.135, allocations: 3.633 MB / 1.423 GB, free: 13.26 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009498/1.144, allocations: 3.412 MB / 1.426 GB, free: 9.836 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007364/1.152, allocations: 2.589 MB / 1.429 GB, free: 7.254 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01149/1.163, allocations: 8.808 MB / 1.437 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00478/1.168, allocations: 3.289 MB / 1.44 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004767/1.173, allocations: 3.116 MB / 1.444 GB, free: 7.938 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005082/1.178, allocations: 3.201 MB / 1.447 GB, free: 4.727 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00142/1.179, allocations: 452 kB / 1.447 GB, free: 4.285 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/1.183, allocations: 1.611 MB / 1.449 GB, free: 2.672 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002073/1.185, allocations: 1.51 MB / 1.45 GB, free: 1.156 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00465/1.19, allocations: 3.136 MB / 1.453 GB, free: 14 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/1.202, allocations: 10.14 MB / 1.463 GB, free: 3.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.202, allocations: 4 kB / 1.463 GB, free: 3.828 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.763e-06/1.202, allocations: 0 / 1.463 GB, free: 3.828 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001928/1.202, allocations: 0 / 1.463 GB, free: 3.828 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 411 * Number of variables: 411 Notification: Performance of Generate backend data structure: time 0.01466/1.217, allocations: 7.597 MB / 1.471 GB, free: 12.12 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.217, allocations: 8.625 kB / 1.471 GB, free: 12.11 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/1.22, allocations: 0.827 MB / 1.471 GB, free: 11.28 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.233, allocations: 6.605 MB / 1.478 GB, free: 4.602 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/1.233, allocations: 135.2 kB / 1.478 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005274/1.233, allocations: 180 kB / 1.478 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/1.237, allocations: 2.115 MB / 1.48 GB, free: 2 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/1.237, allocations: 11.88 kB / 1.48 GB, free: 1.988 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/1.238, allocations: 75.98 kB / 1.48 GB, free: 1.914 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/1.238, allocations: 57.98 kB / 1.48 GB, free: 1.855 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/1.241, allocations: 1.974 MB / 1.482 GB, free: 15.88 MB / 1.217 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.01771/1.259, allocations: 12.59 MB / 1.495 GB, free: 2.902 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/1.261, allocations: 1.419 MB / 1.496 GB, free: 1.469 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009047/1.262, allocations: 0.5592 MB / 1.496 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-05/1.262, allocations: 32.5 kB / 1.496 GB, free: 0.875 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/1.263, allocations: 0.789 MB / 1.497 GB, free: 76 kB / 1.217 GB Notification: Performance of pre-optimization done (n=118): time 3.296e-06/1.263, allocations: 3.938 kB / 1.497 GB, free: 72 kB / 1.217 GB Notification: Performance of matching and sorting (n=118): time 0.004525/1.268, allocations: 2.18 MB / 1.499 GB, free: 13.88 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/1.268, allocations: 230.3 kB / 1.5 GB, free: 13.6 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01604/1.284, allocations: 8.929 MB / 1.508 GB, free: 4.672 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003502/1.285, allocations: 61.7 kB / 1.508 GB, free: 4.605 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.003684/1.288, allocations: 2.825 MB / 1.511 GB, free: 1.766 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005709/1.289, allocations: 402.4 kB / 1.512 GB, free: 1.367 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008586/1.29, allocations: 430.9 kB / 1.512 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 9.038e-05/1.29, allocations: 305.1 kB / 1.512 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/1.291, allocations: 0.7152 MB / 1.513 GB, free: 15.92 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/1.293, allocations: 1.344 MB / 1.514 GB, free: 14.32 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/1.296, allocations: 1.952 MB / 1.516 GB, free: 12.13 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.296, allocations: 8 kB / 1.516 GB, free: 12.12 MB / 1.248 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005823/1.302, allocations: 2.657 MB / 1.519 GB, free: 9.453 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.302, allocations: 12 kB / 1.519 GB, free: 9.441 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/1.302, allocations: 16 kB / 1.519 GB, free: 9.426 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.791e-05/1.302, allocations: 31.94 kB / 1.519 GB, free: 9.395 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/1.303, allocations: 436 kB / 1.519 GB, free: 8.969 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.106e-05/1.304, allocations: 35.86 kB / 1.519 GB, free: 8.934 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/1.307, allocations: 267.8 kB / 1.519 GB, free: 8.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.307, allocations: 91.97 kB / 1.52 GB, free: 8.582 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004963/1.312, allocations: 2.826 MB / 1.522 GB, free: 5.75 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002009/1.314, allocations: 1.34 MB / 1.524 GB, free: 4.16 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002896/1.317, allocations: 1.948 MB / 1.526 GB, free: 1.961 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-05/1.317, allocations: 8 kB / 1.526 GB, free: 1.953 MB / 1.248 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.00568/1.323, allocations: 2.653 MB / 1.528 GB, free: 15.29 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.323, allocations: 12 kB / 1.528 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.433e-05/1.323, allocations: 20 kB / 1.528 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.517e-05/1.323, allocations: 28 kB / 1.528 GB, free: 15.23 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.325, allocations: 427.8 kB / 1.529 GB, free: 14.81 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.965e-05/1.325, allocations: 43.86 kB / 1.529 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/1.329, allocations: 222.5 kB / 1.529 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/1.329, allocations: 91.97 kB / 1.529 GB, free: 14.46 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition6,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,roo.irRadExc.Q_flow[1],$PRE.roo.irRadExc.Q_flow[1],roo.irRadExc.G[1],$PRE.roo.irRadExc.G[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (234): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005106/1.329, allocations: 321.8 kB / 1.529 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.331, allocations: 0.6209 MB / 1.53 GB, free: 13.51 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/1.335, allocations: 2.019 MB / 1.532 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.335, allocations: 3.984 kB / 1.532 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.335, allocations: 4 kB / 1.532 GB, free: 11.47 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/1.339, allocations: 1.203 MB / 1.533 GB, free: 10.24 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/1.34, allocations: 35.98 kB / 1.533 GB, free: 10.21 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/1.343, allocations: 106.4 kB / 1.533 GB, free: 10.11 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/1.343, allocations: 92.81 kB / 1.533 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00327/1.347, allocations: 1.613 MB / 1.535 GB, free: 8.395 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005088/1.352, allocations: 2.844 MB / 1.538 GB, free: 5.523 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009794/1.353, allocations: 0.6174 MB / 1.538 GB, free: 4.91 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01318/1.366, allocations: 6.305 MB / 1.544 GB, free: 14.61 MB / 1.279 GB Notification: Performance of Backend: time 1.052e-06/1.366, allocations: 0 / 1.544 GB, free: 14.61 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009602/1.376, allocations: 3.097 MB / 1.547 GB, free: 11.71 MB / 1.279 GB Notification: Performance of SimCode: time 0.6007/1.976, allocations: 13.78 MB / 1.561 GB, free: 374.7 MB / 1.279 GB Notification: Performance of Templates: time 0.1254/2.102, allocations: 90.12 MB / 1.649 GB, free: 301 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Validation_TestConditionalConstructions_SampledModel_OnlySurfaceBoundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Validation.TestConditionalConstructions.SampledModel.OnlySurfaceBoundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches