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: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.007905/0.007906, allocations: 102.5 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.001671/0.00167, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.567/1.567, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.081/3.081, allocations: 461.9 MB / 0.7348 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 59.91 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2942, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006961/0.3012, allocations: 5.114 MB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8582/1.159, allocations: 150.6 MB / 1.359 GB, free: 9.121 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009264/1.16, allocations: 15.94 kB / 1.359 GB, free: 9.117 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008961/1.161, allocations: 201.4 kB / 1.36 GB, free: 8.988 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/1.164, allocations: 0.5524 MB / 1.36 GB, free: 8.672 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002446/1.166, allocations: 0.8376 MB / 1.361 GB, free: 8.238 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002246/1.169, allocations: 1.43 MB / 1.362 GB, free: 7.496 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.17, allocations: 0.5885 MB / 1.363 GB, free: 7.191 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/1.171, allocations: 0.4976 MB / 1.363 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/1.173, allocations: 0.5124 MB / 1.364 GB, free: 6.672 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004748/1.173, allocations: 117.3 kB / 1.364 GB, free: 6.672 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/1.175, allocations: 489.5 kB / 1.364 GB, free: 6.562 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000501/1.175, allocations: 303.2 kB / 1.365 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/1.177, allocations: 0.5766 MB / 1.365 GB, free: 5.988 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/1.18, allocations: 1.661 MB / 1.367 GB, free: 5.289 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.18, allocations: 3.938 kB / 1.367 GB, free: 5.285 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.395e-06/1.18, allocations: 1.406 kB / 1.367 GB, free: 5.285 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.136e-05/1.18, allocations: 1.094 kB / 1.367 GB, free: 5.285 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004289/1.184, allocations: 1.463 MB / 1.368 GB, free: 4.297 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.184, allocations: 10.56 kB / 1.368 GB, free: 4.297 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003061/1.185, allocations: 140.7 kB / 1.369 GB, free: 4.203 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/1.186, allocations: 192.9 kB / 1.369 GB, free: 4.137 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/1.188, allocations: 0.7829 MB / 1.369 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/1.188, allocations: 66.38 kB / 1.37 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/1.188, allocations: 79.84 kB / 1.37 GB, free: 3.574 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/1.191, allocations: 0.9392 MB / 1.371 GB, free: 3.137 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/1.191, allocations: 1.344 kB / 1.371 GB, free: 3.137 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.191, allocations: 38.34 kB / 1.371 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/1.191, allocations: 24.75 kB / 1.371 GB, free: 3.105 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/1.193, allocations: 1.12 MB / 1.372 GB, free: 2.789 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.006711/1.2, allocations: 2.74 MB / 1.374 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/1.202, allocations: 0.8102 MB / 1.375 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/1.203, allocations: 304.6 kB / 1.375 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/1.203, allocations: 30.73 kB / 1.375 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/1.204, allocations: 0.4981 MB / 1.376 GB, free: 15.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 5.05e-06/1.204, allocations: 0 / 1.376 GB, free: 15.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003912/1.208, allocations: 1.2 MB / 1.377 GB, free: 15.06 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.208, allocations: 197.3 kB / 1.377 GB, free: 14.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/1.209, allocations: 0.6448 MB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/1.21, allocations: 41.36 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000383/1.21, allocations: 406.1 kB / 1.378 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.21, allocations: 269.6 kB / 1.379 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/1.211, allocations: 148.8 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.211, allocations: 390.5 kB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/1.211, allocations: 250 kB / 1.379 GB, free: 13.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/1.212, allocations: 359.8 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.213, allocations: 0.5919 MB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.213, allocations: 0 / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002102/1.215, allocations: 0.813 MB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.215, allocations: 9.219 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/1.215, allocations: 1.219 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/1.216, allocations: 84.42 kB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/1.217, allocations: 162.7 kB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/1.219, allocations: 1.629 MB / 1.383 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/1.22, allocations: 90.48 kB / 1.383 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/1.22, allocations: 35.05 kB / 1.383 GB, free: 10.51 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 (89): * Single equations (assignments): 88 * 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.0004574/1.22, allocations: 268 kB / 1.383 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.221, allocations: 83.81 kB / 1.383 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/1.223, allocations: 1.077 MB / 1.384 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.223, allocations: 13.62 kB / 1.384 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.223, allocations: 0 / 1.384 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.223, allocations: 3.984 kB / 1.384 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/1.225, allocations: 0.9083 MB / 1.385 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.225, allocations: 1.531 kB / 1.385 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/1.225, allocations: 156.6 kB / 1.385 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004591/1.226, allocations: 71.36 kB / 1.386 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/1.226, allocations: 32.75 kB / 1.386 GB, free: 8.859 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/1.228, allocations: 1.654 MB / 1.387 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.228, allocations: 0 / 1.387 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.231, allocations: 1.335 MB / 1.389 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/1.231, allocations: 272.1 kB / 1.389 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.232, allocations: 21.78 kB / 1.389 GB, free: 6.281 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007127/1.232, allocations: 71.11 kB / 1.389 GB, free: 6.242 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.232, allocations: 71.11 kB / 1.389 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/1.233, allocations: 38.06 kB / 1.389 GB, free: 6.191 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000745/1.233, allocations: 466.2 kB / 1.389 GB, free: 5.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.233, allocations: 0 / 1.389 GB, free: 5.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001221/1.235, allocations: 332.1 kB / 1.39 GB, free: 5.832 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 (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.004513/1.239, allocations: 2.378 MB / 1.392 GB, free: 4.402 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001966/1.241, allocations: 0.812 MB / 1.393 GB, free: 3.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.241, allocations: 1.625 kB / 1.393 GB, free: 3.973 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.242, allocations: 0.5215 MB / 1.393 GB, free: 3.676 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/1.244, allocations: 306 kB / 1.394 GB, free: 3.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.255, allocations: 6.351 MB / 1.4 GB, free: 15.62 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/1.255, allocations: 1.03 MB / 1.401 GB, free: 14.78 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000866/1.256, allocations: 267.6 kB / 1.401 GB, free: 14.64 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.257, allocations: 396.4 kB / 1.401 GB, free: 14.32 MB / 1.092 GB Notification: Performance of SimCode: time 6.92e-07/1.257, allocations: 0 / 1.401 GB, free: 14.32 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05781/1.315, allocations: 22.35 MB / 1.423 GB, free: 9.301 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.46, allocations: 6.125 kB / 1.423 GB, free: 9.297 MB / 1.107 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > 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