Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008945/0.008945, allocations: 108.3 kB / 15.74 MB, free: 6.449 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.002193/0.002193, allocations: 196 kB / 16.67 MB, free: 6.355 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.569/1.569, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.172/3.172, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 64.12 kB / 1.054 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.359, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007191/0.3662, allocations: 4.935 MB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.972/1.338, allocations: 150.6 MB / 1.359 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/1.339, allocations: 18.91 kB / 1.359 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/1.34, allocations: 191.2 kB / 1.359 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/1.343, allocations: 0.5468 MB / 1.36 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002674/1.346, allocations: 0.8304 MB / 1.361 GB, free: 8.371 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002292/1.348, allocations: 1.378 MB / 1.362 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/1.349, allocations: 0.5716 MB / 1.363 GB, free: 7.359 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/1.35, allocations: 489.1 kB / 1.363 GB, free: 7.117 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/1.351, allocations: 0.4912 MB / 1.364 GB, free: 6.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004026/1.352, allocations: 114.2 kB / 1.364 GB, free: 6.859 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/1.353, allocations: 484.7 kB / 1.364 GB, free: 6.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004868/1.354, allocations: 287 kB / 1.364 GB, free: 6.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/1.355, allocations: 0.556 MB / 1.365 GB, free: 6.199 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/1.358, allocations: 1.623 MB / 1.367 GB, free: 5.508 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.358, allocations: 1.281 kB / 1.367 GB, free: 5.508 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/1.358, allocations: 0 / 1.367 GB, free: 5.508 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.35e-05/1.358, allocations: 0 / 1.367 GB, free: 5.508 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004166/1.362, allocations: 1.428 MB / 1.368 GB, free: 4.535 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/1.362, allocations: 12.06 kB / 1.368 GB, free: 4.535 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003514/1.363, allocations: 134.8 kB / 1.368 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/1.364, allocations: 190.5 kB / 1.368 GB, free: 4.375 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/1.366, allocations: 0.7635 MB / 1.369 GB, free: 3.879 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/1.366, allocations: 63.94 kB / 1.369 GB, free: 3.852 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/1.366, allocations: 77.81 kB / 1.369 GB, free: 3.828 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/1.369, allocations: 0.9104 MB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/1.369, allocations: 1.781 kB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.369, allocations: 36.06 kB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/1.369, allocations: 25.58 kB / 1.37 GB, free: 3.367 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/1.371, allocations: 1.098 MB / 1.371 GB, free: 3.117 MB / 1.061 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.006067/1.377, allocations: 2.734 MB / 1.374 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/1.379, allocations: 0.7838 MB / 1.375 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/1.38, allocations: 294.9 kB / 1.375 GB, free: 396 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/1.38, allocations: 34.67 kB / 1.375 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/1.381, allocations: 487.2 kB / 1.375 GB, free: 56 kB / 1.061 GB Notification: Performance of pre-optimization done (n=78): time 3.567e-06/1.381, allocations: 5.344 kB / 1.375 GB, free: 52 kB / 1.061 GB Notification: Performance of matching and sorting (n=78): time 0.00371/1.385, allocations: 1.177 MB / 1.376 GB, free: 15.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.385, allocations: 192.8 kB / 1.377 GB, free: 15.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/1.386, allocations: 0.6324 MB / 1.377 GB, free: 14.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001982/1.386, allocations: 42.8 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/1.387, allocations: 396.8 kB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/1.387, allocations: 255.1 kB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/1.387, allocations: 143.9 kB / 1.378 GB, free: 14.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.388, allocations: 397.3 kB / 1.378 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/1.388, allocations: 237.8 kB / 1.379 GB, free: 13.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/1.389, allocations: 361.7 kB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.39, allocations: 0.5794 MB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-06/1.39, allocations: 2.062 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002208/1.392, allocations: 0.7929 MB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.392, allocations: 11.34 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.392, allocations: 0.9375 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/1.393, allocations: 85.92 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/1.394, allocations: 144.8 kB / 1.381 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.396, allocations: 1.634 MB / 1.382 GB, free: 10.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009758/1.397, allocations: 81.66 kB / 1.382 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.397, allocations: 32.84 kB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (85): * Single equations (assignments): 84 * 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.0006116/1.398, allocations: 274.1 kB / 1.383 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/1.398, allocations: 86.34 kB / 1.383 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/1.401, allocations: 1.045 MB / 1.384 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.401, allocations: 9.531 kB / 1.384 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.401, allocations: 0 / 1.384 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.401, allocations: 7.922 kB / 1.384 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.403, allocations: 0.8889 MB / 1.385 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.403, allocations: 0 / 1.385 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/1.403, allocations: 139.9 kB / 1.385 GB, free: 9.344 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005082/1.404, allocations: 69.67 kB / 1.385 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.404, allocations: 28.59 kB / 1.385 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.406, allocations: 1.653 MB / 1.386 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.406, allocations: 1.312 kB / 1.386 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/1.409, allocations: 0.9157 MB / 1.387 GB, free: 7.184 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/1.409, allocations: 275.3 kB / 1.388 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/1.409, allocations: 25.75 kB / 1.388 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/1.41, allocations: 63.28 kB / 1.388 GB, free: 6.891 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.41, allocations: 69.02 kB / 1.388 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.426e-05/1.41, allocations: 35.33 kB / 1.388 GB, free: 6.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007361/1.411, allocations: 466.5 kB / 1.388 GB, free: 6.574 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.31e-07/1.411, allocations: 0 / 1.388 GB, free: 6.574 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001306/1.413, allocations: 310.8 kB / 1.388 GB, free: 6.488 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.004203/1.417, allocations: 1.962 MB / 1.39 GB, free: 5.277 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002016/1.419, allocations: 0.7861 MB / 1.391 GB, free: 4.863 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.419, allocations: 3.984 kB / 1.391 GB, free: 4.859 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/1.42, allocations: 0.5084 MB / 1.392 GB, free: 4.57 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.422, allocations: 306.1 kB / 1.392 GB, free: 4.414 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.435, allocations: 6.137 MB / 1.398 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/1.435, allocations: 1.019 MB / 1.399 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001161/1.437, allocations: 262.4 kB / 1.399 GB, free: 15.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007557/1.437, allocations: 396.6 kB / 1.4 GB, free: 15.39 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/1.437, allocations: 3.938 kB / 1.4 GB, free: 15.38 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/1.496, allocations: 21.45 MB / 1.421 GB, free: 12.1 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.78, allocations: 3.5 kB / 1.421 GB, free: 12.1 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches