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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00125/0.00125, allocations: 105.5 kB / 16.41 MB, free: 6.516 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.001246/0.001246, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 64.12 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8287/0.8302, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006645/0.8368, allocations: 5.132 MB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1768/1.014, allocations: 150.6 MB / 1.361 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/1.015, allocations: 15.94 kB / 1.361 GB, free: 1.211 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008755/1.016, allocations: 194.1 kB / 1.361 GB, free: 1.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.018, allocations: 0.555 MB / 1.361 GB, free: 476 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/1.021, allocations: 0.8413 MB / 1.362 GB, free: 15.63 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002204/1.023, allocations: 1.428 MB / 1.363 GB, free: 14.2 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/1.024, allocations: 0.6029 MB / 1.364 GB, free: 13.57 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/1.025, allocations: 0.4905 MB / 1.365 GB, free: 13.08 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009745/1.026, allocations: 0.5095 MB / 1.365 GB, free: 12.57 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003596/1.027, allocations: 120 kB / 1.365 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/1.028, allocations: 487.6 kB / 1.366 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004103/1.028, allocations: 299 kB / 1.366 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007844/1.029, allocations: 0.5752 MB / 1.366 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002426/1.032, allocations: 1.664 MB / 1.368 GB, free: 9.438 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.032, allocations: 8 kB / 1.368 GB, free: 9.43 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.643e-06/1.032, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.627e-05/1.032, allocations: 0 / 1.368 GB, free: 9.43 MB / 1.092 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.003382/1.035, allocations: 1.458 MB / 1.37 GB, free: 7.918 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.035, allocations: 8.031 kB / 1.37 GB, free: 7.91 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.036, allocations: 199.2 kB / 1.37 GB, free: 7.715 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.038, allocations: 0.7664 MB / 1.37 GB, free: 6.906 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/1.038, allocations: 66 kB / 1.371 GB, free: 6.844 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/1.038, allocations: 84 kB / 1.371 GB, free: 6.762 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.04, allocations: 0.9417 MB / 1.372 GB, free: 5.777 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/1.04, allocations: 0 / 1.372 GB, free: 5.777 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/1.04, allocations: 36 kB / 1.372 GB, free: 5.742 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/1.04, allocations: 24 kB / 1.372 GB, free: 5.719 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/1.042, allocations: 1.12 MB / 1.373 GB, free: 4.602 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.004652/1.047, allocations: 2.736 MB / 1.375 GB, free: 1.742 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/1.048, allocations: 0.8126 MB / 1.376 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/1.049, allocations: 310.1 kB / 1.376 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/1.049, allocations: 28.61 kB / 1.376 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008538/1.05, allocations: 0.4952 MB / 1.377 GB, free: 80 kB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/1.05, allocations: 0 / 1.377 GB, free: 80 kB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003328/1.053, allocations: 1.203 MB / 1.378 GB, free: 14.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.053, allocations: 196.5 kB / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009499/1.054, allocations: 0.6449 MB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/1.054, allocations: 41.7 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/1.054, allocations: 400.4 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/1.055, allocations: 272.1 kB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/1.055, allocations: 170.5 kB / 1.38 GB, free: 13.08 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.055, allocations: 386.8 kB / 1.38 GB, free: 12.69 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/1.056, allocations: 265.9 kB / 1.38 GB, free: 12.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/1.056, allocations: 367.1 kB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.058, allocations: 0.6189 MB / 1.381 GB, free: 11.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.058, allocations: 4 kB / 1.381 GB, free: 11.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002079/1.06, allocations: 0.8642 MB / 1.382 GB, free: 10.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.06, allocations: 9.719 kB / 1.382 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.06, allocations: 4.078 kB / 1.382 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/1.06, allocations: 84.77 kB / 1.382 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/1.061, allocations: 167.8 kB / 1.382 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/1.063, allocations: 1.626 MB / 1.384 GB, free: 8.516 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/1.064, allocations: 99.36 kB / 1.384 GB, free: 8.418 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/1.064, allocations: 35.97 kB / 1.384 GB, free: 8.383 MB / 1.107 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.000479/1.065, allocations: 271.6 kB / 1.384 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/1.065, allocations: 86.95 kB / 1.385 GB, free: 8.023 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/1.067, allocations: 1.066 MB / 1.386 GB, free: 6.941 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.067, allocations: 12 kB / 1.386 GB, free: 6.93 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.067, allocations: 4 kB / 1.386 GB, free: 6.926 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/1.067, allocations: 3.984 kB / 1.386 GB, free: 6.922 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/1.069, allocations: 0.9035 MB / 1.386 GB, free: 5.969 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/1.069, allocations: 0 / 1.386 GB, free: 5.969 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.069, allocations: 151.8 kB / 1.387 GB, free: 5.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/1.07, allocations: 76.72 kB / 1.387 GB, free: 5.742 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/1.07, allocations: 23.98 kB / 1.387 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.072, allocations: 1.666 MB / 1.388 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.072, allocations: 0 / 1.388 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/1.075, allocations: 1.336 MB / 1.39 GB, free: 2.551 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/1.075, allocations: 271.8 kB / 1.39 GB, free: 2.266 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.075, allocations: 19.94 kB / 1.39 GB, free: 2.246 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/1.076, allocations: 67.98 kB / 1.39 GB, free: 2.18 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.076, allocations: 68.91 kB / 1.39 GB, free: 2.109 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/1.076, allocations: 35.97 kB / 1.39 GB, free: 2.074 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000691/1.077, allocations: 467 kB / 1.391 GB, free: 1.625 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.077, allocations: 3.938 kB / 1.391 GB, free: 1.621 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009741/1.078, allocations: 331.2 kB / 1.391 GB, free: 1.297 MB / 1.107 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.001543/1.08, allocations: 0.5943 MB / 1.391 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.081, allocations: 0.8351 MB / 1.392 GB, free: 32 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.081, allocations: 4.188 kB / 1.392 GB, free: 28 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.082, allocations: 0.5274 MB / 1.393 GB, free: 15.49 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.084, allocations: 303.1 kB / 1.393 GB, free: 15.21 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/1.087, allocations: 1.817 MB / 1.395 GB, free: 13.36 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/1.088, allocations: 1.027 MB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/1.088, allocations: 123.4 kB / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of SimCode: time 9.92e-07/1.088, allocations: 0 / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of Templates: time 0.02806/1.116, allocations: 18.87 MB / 1.414 GB, free: 9.363 MB / 1.139 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