Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.0101/0.0101, allocations: 99.64 kB / 15.73 MB, free: 5.551 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.002087/0.002087, allocations: 193.7 kB / 16.67 MB, free: 5.492 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.541/1.541, 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 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2909, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006653/0.2976, allocations: 5.237 MB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8013/1.099, allocations: 150.7 MB / 1.36 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008542/1.1, allocations: 26.5 kB / 1.36 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008085/1.101, allocations: 200.6 kB / 1.36 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/1.103, allocations: 0.5567 MB / 1.36 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00216/1.105, allocations: 0.8505 MB / 1.361 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001981/1.107, allocations: 1.443 MB / 1.363 GB, free: 7.383 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/1.108, allocations: 0.6159 MB / 1.363 GB, free: 7.059 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009366/1.109, allocations: 0.5024 MB / 1.364 GB, free: 6.809 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009196/1.11, allocations: 0.5176 MB / 1.364 GB, free: 6.539 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002974/1.11, allocations: 123.5 kB / 1.364 GB, free: 6.535 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/1.111, allocations: 492 kB / 1.365 GB, free: 6.426 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/1.112, allocations: 309 kB / 1.365 GB, free: 6.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008665/1.113, allocations: 0.5882 MB / 1.366 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002394/1.115, allocations: 1.697 MB / 1.367 GB, free: 5.121 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/1.115, allocations: 0 / 1.367 GB, free: 5.121 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.115, allocations: 5.062 kB / 1.367 GB, free: 5.117 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.278e-05/1.115, allocations: 0 / 1.367 GB, free: 5.117 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003563/1.119, allocations: 1.482 MB / 1.369 GB, free: 4.125 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.119, allocations: 9.656 kB / 1.369 GB, free: 4.125 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/1.119, allocations: 145.8 kB / 1.369 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.12, allocations: 198.6 kB / 1.369 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.122, allocations: 0.7863 MB / 1.37 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/1.122, allocations: 66 kB / 1.37 GB, free: 3.418 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.122, allocations: 85.38 kB / 1.37 GB, free: 3.391 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.124, allocations: 0.9519 MB / 1.371 GB, free: 2.953 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/1.124, allocations: 5.375 kB / 1.371 GB, free: 2.949 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/1.124, allocations: 40.91 kB / 1.371 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/1.124, allocations: 21.91 kB / 1.371 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/1.126, allocations: 1.139 MB / 1.372 GB, free: 2.562 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.005143/1.131, allocations: 2.775 MB / 1.375 GB, free: 356 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/1.133, allocations: 0.848 MB / 1.376 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/1.134, allocations: 323.3 kB / 1.376 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/1.134, allocations: 35.86 kB / 1.376 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/1.135, allocations: 0.4982 MB / 1.376 GB, free: 15.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.286e-06/1.135, allocations: 1.25 kB / 1.376 GB, free: 15.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.00379/1.139, allocations: 1.251 MB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.139, allocations: 189.8 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.14, allocations: 0.6565 MB / 1.378 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.14, allocations: 43.92 kB / 1.378 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/1.141, allocations: 410.1 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/1.141, allocations: 279.1 kB / 1.379 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/1.141, allocations: 154.1 kB / 1.379 GB, free: 13.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.142, allocations: 389.5 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006129/1.142, allocations: 254.5 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/1.143, allocations: 377.5 kB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/1.144, allocations: 0.6098 MB / 1.381 GB, free: 12.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.144, allocations: 1.219 kB / 1.381 GB, free: 12.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002336/1.147, allocations: 0.8351 MB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.147, allocations: 5.844 kB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.147, allocations: 1.469 kB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/1.147, allocations: 81.05 kB / 1.382 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/1.148, allocations: 165.4 kB / 1.382 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.15, allocations: 1.637 MB / 1.384 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000965/1.151, allocations: 97.36 kB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.151, allocations: 29.14 kB / 1.384 GB, free: 10.15 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0007003/1.152, allocations: 271.8 kB / 1.384 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.153, allocations: 85.03 kB / 1.384 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/1.155, allocations: 1.092 MB / 1.385 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.155, allocations: 9.312 kB / 1.385 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.155, allocations: 0 / 1.385 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.155, allocations: 5.391 kB / 1.385 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/1.157, allocations: 0.9266 MB / 1.386 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.157, allocations: 5.375 kB / 1.386 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/1.158, allocations: 160.4 kB / 1.386 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/1.158, allocations: 77.52 kB / 1.386 GB, free: 8.492 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/1.158, allocations: 28.61 kB / 1.386 GB, free: 8.473 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/1.16, allocations: 1.65 MB / 1.388 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.161, allocations: 0 / 1.388 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/1.164, allocations: 1.372 MB / 1.389 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007398/1.165, allocations: 277.2 kB / 1.389 GB, free: 5.891 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.165, allocations: 29.06 kB / 1.389 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/1.166, allocations: 60.11 kB / 1.39 GB, free: 5.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.167, allocations: 71.23 kB / 1.39 GB, free: 5.805 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.343e-05/1.167, allocations: 43.28 kB / 1.39 GB, free: 5.785 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008608/1.167, allocations: 474.8 kB / 1.39 GB, free: 5.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.168, allocations: 0 / 1.39 GB, free: 5.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001363/1.169, allocations: 335.2 kB / 1.39 GB, free: 5.422 MB / 1.076 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 (96): * Single equations (assignments): 90 * 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.004834/1.174, allocations: 2.43 MB / 1.393 GB, free: 3.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.176, allocations: 0.8169 MB / 1.394 GB, free: 3.535 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.176, allocations: 1.344 kB / 1.394 GB, free: 3.535 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.177, allocations: 0.5324 MB / 1.394 GB, free: 3.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.179, allocations: 307.4 kB / 1.394 GB, free: 3.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/1.192, allocations: 6.509 MB / 1.401 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/1.192, allocations: 1.035 MB / 1.402 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001035/1.193, allocations: 274.4 kB / 1.402 GB, free: 14.12 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006793/1.194, allocations: 404.4 kB / 1.402 GB, free: 13.8 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/1.194, allocations: 0 / 1.402 GB, free: 13.8 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05355/1.248, allocations: 22.69 MB / 1.425 GB, free: 8.043 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.51, allocations: 5.656 kB / 1.425 GB, free: 8.043 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches