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 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.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.008344/0.008344, allocations: 100 kB / 15.73 MB, free: 6.062 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.001879/0.001879, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3891, allocations: 159.9 MB / 1.226 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007011/0.3962, allocations: 5.124 MB / 1.231 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9065/1.303, allocations: 150.6 MB / 1.378 GB, free: 5.102 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/1.304, allocations: 16.28 kB / 1.378 GB, free: 5.098 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000672/1.305, allocations: 199.1 kB / 1.378 GB, free: 4.969 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/1.307, allocations: 0.5655 MB / 1.378 GB, free: 4.645 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/1.309, allocations: 0.8387 MB / 1.379 GB, free: 4.211 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00191/1.311, allocations: 1.427 MB / 1.381 GB, free: 3.473 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/1.312, allocations: 0.593 MB / 1.381 GB, free: 3.156 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/1.313, allocations: 0.4934 MB / 1.382 GB, free: 2.906 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008077/1.314, allocations: 0.5098 MB / 1.382 GB, free: 2.641 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/1.314, allocations: 117.4 kB / 1.382 GB, free: 2.641 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/1.315, allocations: 487.7 kB / 1.383 GB, free: 2.504 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003393/1.316, allocations: 302.7 kB / 1.383 GB, free: 2.266 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006115/1.316, allocations: 0.5746 MB / 1.384 GB, free: 1.844 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002438/1.319, allocations: 1.667 MB / 1.385 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.319, allocations: 0.8125 kB / 1.385 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.319, allocations: 4 kB / 1.385 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.319, allocations: 0 / 1.385 GB, free: 0.6406 MB / 1.076 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.002882/1.322, allocations: 1.501 MB / 1.387 GB, free: 15.46 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.322, allocations: 9.219 kB / 1.387 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009503/1.323, allocations: 194.2 kB / 1.387 GB, free: 15.37 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/1.324, allocations: 0.7821 MB / 1.388 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/1.324, allocations: 64.41 kB / 1.388 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.324, allocations: 84.66 kB / 1.388 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/1.326, allocations: 0.941 MB / 1.389 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/1.326, allocations: 0 / 1.389 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/1.326, allocations: 33.78 kB / 1.389 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/1.326, allocations: 23.16 kB / 1.389 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/1.328, allocations: 1.122 MB / 1.39 GB, free: 13.5 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.004396/1.332, allocations: 2.746 MB / 1.393 GB, free: 11.3 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/1.334, allocations: 0.8154 MB / 1.393 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/1.335, allocations: 311.1 kB / 1.394 GB, free: 10.73 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/1.335, allocations: 26.58 kB / 1.394 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009275/1.336, allocations: 0.4902 MB / 1.394 GB, free: 10.4 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/1.336, allocations: 1.219 kB / 1.394 GB, free: 10.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003438/1.339, allocations: 1.211 MB / 1.395 GB, free: 9.746 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.339, allocations: 190.2 kB / 1.396 GB, free: 9.527 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009515/1.34, allocations: 0.6498 MB / 1.396 GB, free: 9.145 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/1.341, allocations: 42.61 kB / 1.396 GB, free: 9.102 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/1.341, allocations: 413.8 kB / 1.397 GB, free: 8.738 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/1.341, allocations: 279.9 kB / 1.397 GB, free: 8.496 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/1.341, allocations: 171.6 kB / 1.397 GB, free: 8.387 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.342, allocations: 386.5 kB / 1.397 GB, free: 8.02 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/1.342, allocations: 269.1 kB / 1.398 GB, free: 7.891 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/1.343, allocations: 369.2 kB / 1.398 GB, free: 7.684 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.344, allocations: 0.6152 MB / 1.399 GB, free: 7.348 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.344, allocations: 0 / 1.399 GB, free: 7.348 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002065/1.346, allocations: 0.8611 MB / 1.4 GB, free: 6.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.346, allocations: 9.906 kB / 1.4 GB, free: 6.906 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.346, allocations: 0 / 1.4 GB, free: 6.906 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/1.347, allocations: 85.41 kB / 1.4 GB, free: 6.863 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/1.348, allocations: 169.9 kB / 1.4 GB, free: 6.824 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.35, allocations: 1.634 MB / 1.401 GB, free: 5.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/1.351, allocations: 96.39 kB / 1.401 GB, free: 5.152 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/1.351, allocations: 34.69 kB / 1.401 GB, free: 5.141 MB / 1.092 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.0005509/1.351, allocations: 270.8 kB / 1.402 GB, free: 4.93 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/1.352, allocations: 95.55 kB / 1.402 GB, free: 4.879 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/1.354, allocations: 1.08 MB / 1.403 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.354, allocations: 9.656 kB / 1.403 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/1.354, allocations: 4 kB / 1.403 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.354, allocations: 5.109 kB / 1.403 GB, free: 4.27 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/1.356, allocations: 0.9031 MB / 1.404 GB, free: 3.586 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.356, allocations: 0 / 1.404 GB, free: 3.586 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/1.356, allocations: 150.5 kB / 1.404 GB, free: 3.555 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/1.357, allocations: 72.59 kB / 1.404 GB, free: 3.516 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.978e-05/1.357, allocations: 29.77 kB / 1.404 GB, free: 3.496 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.359, allocations: 1.663 MB / 1.406 GB, free: 1.875 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.359, allocations: 0 / 1.406 GB, free: 1.875 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/1.362, allocations: 1.342 MB / 1.407 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/1.362, allocations: 281.6 kB / 1.407 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/1.363, allocations: 17.34 kB / 1.407 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/1.363, allocations: 71.16 kB / 1.407 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/1.363, allocations: 68.89 kB / 1.407 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/1.364, allocations: 38.09 kB / 1.407 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007258/1.364, allocations: 465.9 kB / 1.408 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.364, allocations: 0 / 1.408 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001139/1.365, allocations: 332.3 kB / 1.408 GB, free: 456 kB / 1.092 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.001565/1.367, allocations: 0.6137 MB / 1.409 GB, free: 156 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00191/1.369, allocations: 0.8411 MB / 1.41 GB, free: 15.71 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.369, allocations: 192 / 1.41 GB, free: 15.71 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009382/1.37, allocations: 0.5173 MB / 1.41 GB, free: 15.41 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.371, allocations: 303.5 kB / 1.41 GB, free: 15.26 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.375, allocations: 1.802 MB / 1.412 GB, free: 14.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/1.376, allocations: 1.041 MB / 1.413 GB, free: 13.32 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00091/1.376, allocations: 260 kB / 1.413 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/1.377, allocations: 106.3 kB / 1.414 GB, free: 13.16 MB / 1.107 GB Notification: Performance of SimCode: time 5.91e-07/1.377, allocations: 0 / 1.414 GB, free: 13.16 MB / 1.107 GB Notification: Performance of Templates: time 0.02735/1.404, allocations: 15.39 MB / 1.429 GB, free: 13.96 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches