Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005958/0.005958, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001477/0.001477, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 61.95 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2952, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007662/0.303, allocations: 5.132 MB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.4586, allocations: 148.3 MB / 1.203 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.4596, allocations: 19.88 kB / 1.203 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.4606, allocations: 158.8 kB / 1.203 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.4627, allocations: 479.2 kB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.4649, allocations: 0.7242 MB / 1.204 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.4667, allocations: 1.33 MB / 1.205 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.4679, allocations: 0.5636 MB / 1.206 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008111/0.4687, allocations: 434.2 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.4696, allocations: 497.7 kB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.4698, allocations: 56 kB / 1.207 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009964/0.4708, allocations: 395.7 kB / 1.207 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.4711, allocations: 247 kB / 1.207 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005463/0.4716, allocations: 0.5206 MB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4731, allocations: 1.216 MB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.4731, allocations: 3.984 kB / 1.209 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4731, allocations: 0 / 1.209 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.4731, allocations: 4 kB / 1.209 GB, free: 7.645 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002824/0.476, allocations: 1.462 MB / 1.21 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.476, allocations: 11.97 kB / 1.21 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.477, allocations: 191.4 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.4781, allocations: 0.7585 MB / 1.211 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.4782, allocations: 66 kB / 1.211 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4783, allocations: 84 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.4799, allocations: 0.9379 MB / 1.212 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.48, allocations: 0 / 1.212 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.4801, allocations: 36 kB / 1.212 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.4801, allocations: 24 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.4819, allocations: 1.12 MB / 1.214 GB, free: 2.828 MB / 0.9669 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.004337/0.4862, allocations: 2.763 MB / 1.216 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.4878, allocations: 0.8043 MB / 1.217 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.4883, allocations: 306.7 kB / 1.217 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.4884, allocations: 32.61 kB / 1.217 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009807/0.4894, allocations: 499.1 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 4.228e-06/0.4894, allocations: 0 / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003298/0.4927, allocations: 1.211 MB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.4928, allocations: 200.5 kB / 1.219 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.4937, allocations: 0.6371 MB / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.4937, allocations: 41.7 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.4942, allocations: 412.3 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.4944, allocations: 264.2 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.4947, allocations: 166.5 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.4949, allocations: 398.7 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005866/0.4955, allocations: 265.9 kB / 1.221 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.4961, allocations: 367.1 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.4972, allocations: 0.6112 MB / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4973, allocations: 0 / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002041/0.4993, allocations: 0.8644 MB / 1.223 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4993, allocations: 4 kB / 1.223 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.4994, allocations: 7.984 kB / 1.223 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.5, allocations: 88.8 kB / 1.223 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.5007, allocations: 163.8 kB / 1.223 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5027, allocations: 1.525 MB / 1.225 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.5035, allocations: 99.41 kB / 1.225 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.5036, allocations: 39.97 kB / 1.225 GB, free: 6.688 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.0004805/0.5041, allocations: 275.4 kB / 1.225 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.5043, allocations: 83.06 kB / 1.225 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.5067, allocations: 1.069 MB / 1.226 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.5067, allocations: 8 kB / 1.226 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5067, allocations: 3.938 kB / 1.226 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5067, allocations: 3.984 kB / 1.226 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.5078, allocations: 0.9074 MB / 1.227 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5078, allocations: 7.984 kB / 1.227 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.5084, allocations: 147.8 kB / 1.227 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/0.509, allocations: 80.78 kB / 1.228 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.509, allocations: 27.97 kB / 1.228 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.5108, allocations: 1.544 MB / 1.229 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5109, allocations: 7.875 kB / 1.229 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.5135, allocations: 1.34 MB / 1.23 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.514, allocations: 271.7 kB / 1.231 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.5141, allocations: 20 kB / 1.231 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/0.5148, allocations: 70.17 kB / 1.231 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.5149, allocations: 76.89 kB / 1.231 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.515, allocations: 35.98 kB / 1.231 GB, free: 492 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005861/0.5156, allocations: 463 kB / 1.231 GB, free: 32 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5156, allocations: 0 / 1.231 GB, free: 32 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009016/0.5165, allocations: 331.3 kB / 1.232 GB, free: 15.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.5179, allocations: 0.5985 MB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.5197, allocations: 0.839 MB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/0.5197, allocations: 4 kB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/0.5206, allocations: 0.5122 MB / 1.234 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5218, allocations: 273 kB / 1.234 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.5252, allocations: 2.25 MB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.5257, allocations: 1.031 MB / 1.237 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.5261, allocations: 115.4 kB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.5261, allocations: 0 / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.4591/0.9852, allocations: 18.75 MB / 1.255 GB, free: 190.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches