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.009184/0.009184, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002238/0.002238, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.207/3.207, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 67.91 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3131, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006706/0.3198, allocations: 4.927 MB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.893/1.213, allocations: 150.6 MB / 1.359 GB, free: 9.344 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/1.214, allocations: 19.56 kB / 1.359 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/1.215, allocations: 189.8 kB / 1.359 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/1.218, allocations: 0.5409 MB / 1.36 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/1.221, allocations: 0.824 MB / 1.361 GB, free: 8.477 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002468/1.223, allocations: 1.379 MB / 1.362 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/1.225, allocations: 0.5727 MB / 1.363 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/1.226, allocations: 490.4 kB / 1.363 GB, free: 7.223 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009893/1.227, allocations: 0.4941 MB / 1.364 GB, free: 6.961 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/1.227, allocations: 114.6 kB / 1.364 GB, free: 6.961 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/1.228, allocations: 482.4 kB / 1.364 GB, free: 6.852 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00046/1.229, allocations: 291.3 kB / 1.364 GB, free: 6.668 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009429/1.23, allocations: 0.5525 MB / 1.365 GB, free: 6.301 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/1.232, allocations: 1.62 MB / 1.366 GB, free: 5.613 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.232, allocations: 1.469 kB / 1.366 GB, free: 5.613 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/1.232, allocations: 0 / 1.366 GB, free: 5.613 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.369e-05/1.232, allocations: 4 kB / 1.366 GB, free: 5.609 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.003643/1.236, allocations: 1.425 MB / 1.368 GB, free: 4.641 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.236, allocations: 13.19 kB / 1.368 GB, free: 4.637 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/1.236, allocations: 136.1 kB / 1.368 GB, free: 4.547 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.237, allocations: 186.8 kB / 1.368 GB, free: 4.484 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/1.239, allocations: 0.7649 MB / 1.369 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.628e-05/1.239, allocations: 63.22 kB / 1.369 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.239, allocations: 84.94 kB / 1.369 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.241, allocations: 0.9081 MB / 1.37 GB, free: 3.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.241, allocations: 3.938 kB / 1.37 GB, free: 3.496 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/1.241, allocations: 38.72 kB / 1.37 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/1.241, allocations: 20.69 kB / 1.37 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.243, allocations: 1.098 MB / 1.371 GB, free: 3.219 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.004534/1.248, allocations: 2.742 MB / 1.374 GB, free: 1.004 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/1.249, allocations: 0.7767 MB / 1.375 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/1.25, allocations: 293.1 kB / 1.375 GB, free: 484 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.801e-05/1.25, allocations: 39.22 kB / 1.375 GB, free: 460 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009352/1.251, allocations: 488.9 kB / 1.375 GB, free: 140 kB / 1.061 GB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/1.251, allocations: 0 / 1.375 GB, free: 140 kB / 1.061 GB Notification: Performance of matching and sorting (n=78): time 0.003452/1.254, allocations: 1.173 MB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/1.255, allocations: 193.2 kB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/1.256, allocations: 0.6289 MB / 1.377 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/1.256, allocations: 42.3 kB / 1.377 GB, free: 14.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/1.256, allocations: 409.1 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.256, allocations: 243.4 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/1.256, allocations: 147.5 kB / 1.378 GB, free: 14.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.257, allocations: 393.1 kB / 1.378 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/1.257, allocations: 238.4 kB / 1.379 GB, free: 13.72 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/1.258, allocations: 365.6 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.259, allocations: 0.5716 MB / 1.38 GB, free: 13.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.259, allocations: 2.375 kB / 1.38 GB, free: 13.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00207/1.261, allocations: 0.8006 MB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.261, allocations: 7.125 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.261, allocations: 2.094 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/1.262, allocations: 79.95 kB / 1.38 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/1.262, allocations: 154.1 kB / 1.381 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/1.265, allocations: 1.635 MB / 1.382 GB, free: 11.06 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000856/1.266, allocations: 86.25 kB / 1.382 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/1.266, allocations: 27.7 kB / 1.382 GB, free: 11 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.0005444/1.266, allocations: 270.5 kB / 1.383 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/1.266, allocations: 86.23 kB / 1.383 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/1.269, allocations: 1.043 MB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.269, allocations: 8.984 kB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.269, allocations: 3.984 kB / 1.384 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.269, allocations: 7.922 kB / 1.384 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/1.27, allocations: 0.888 MB / 1.385 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.27, allocations: 0 / 1.385 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/1.271, allocations: 144.3 kB / 1.385 GB, free: 9.434 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/1.271, allocations: 69.92 kB / 1.385 GB, free: 9.398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.53e-05/1.271, allocations: 32.22 kB / 1.385 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/1.274, allocations: 1.653 MB / 1.386 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.274, allocations: 1 kB / 1.386 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/1.276, allocations: 0.9117 MB / 1.387 GB, free: 7.273 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/1.276, allocations: 271.6 kB / 1.388 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.276, allocations: 25.19 kB / 1.388 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/1.277, allocations: 67 kB / 1.388 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.277, allocations: 68.86 kB / 1.388 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/1.277, allocations: 35.2 kB / 1.388 GB, free: 6.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006332/1.278, allocations: 462.8 kB / 1.388 GB, free: 6.668 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.31e-07/1.278, allocations: 0 / 1.388 GB, free: 6.668 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009477/1.279, allocations: 311.6 kB / 1.388 GB, free: 6.582 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.00362/1.282, allocations: 1.964 MB / 1.39 GB, free: 5.367 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001705/1.284, allocations: 0.7873 MB / 1.391 GB, free: 4.949 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.284, allocations: 0 / 1.391 GB, free: 4.949 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.285, allocations: 0.5119 MB / 1.392 GB, free: 4.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.287, allocations: 309.6 kB / 1.392 GB, free: 4.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/1.297, allocations: 6.129 MB / 1.398 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/1.298, allocations: 1.02 MB / 1.399 GB, free: 15.93 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009252/1.299, allocations: 261.1 kB / 1.399 GB, free: 15.8 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/1.299, allocations: 397.7 kB / 1.4 GB, free: 15.48 MB / 1.092 GB Notification: Performance of SimCode: time 1.062e-06/1.299, allocations: 0 / 1.4 GB, free: 15.48 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05123/1.351, allocations: 21.88 MB / 1.421 GB, free: 11.76 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.62, allocations: 4.062 kB / 1.421 GB, free: 11.76 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