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 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: "" <> 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.005113/0.005113, allocations: 97.62 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.001519/0.001519, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 482.4 MB / 0.7548 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2824, allocations: 162.2 MB / 1.241 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00705/0.2895, allocations: 4.933 MB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6766/0.9661, allocations: 150.6 MB / 1.393 GB, free: 1.969 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006828/0.9668, allocations: 19.09 kB / 1.393 GB, free: 1.961 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006698/0.9675, allocations: 185.4 kB / 1.393 GB, free: 1.801 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.9694, allocations: 0.5507 MB / 1.394 GB, free: 1.406 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.9714, allocations: 0.8303 MB / 1.395 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.9731, allocations: 1.367 MB / 1.396 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.974, allocations: 0.5824 MB / 1.397 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007262/0.9747, allocations: 484.9 kB / 1.397 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006663/0.9754, allocations: 0.4914 MB / 1.398 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.9756, allocations: 114.1 kB / 1.398 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008396/0.9764, allocations: 485.5 kB / 1.398 GB, free: 14.76 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.9767, allocations: 290.2 kB / 1.399 GB, free: 14.54 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005491/0.9773, allocations: 0.5555 MB / 1.399 GB, free: 14.12 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.9791, allocations: 1.626 MB / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.9791, allocations: 0 / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9792, allocations: 0 / 1.401 GB, free: 12.96 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.9792, allocations: 0 / 1.401 GB, free: 12.96 MB / 1.107 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.002516/0.9817, allocations: 1.47 MB / 1.402 GB, free: 11.79 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.9817, allocations: 10.44 kB / 1.402 GB, free: 11.79 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.9819, allocations: 131.9 kB / 1.402 GB, free: 11.68 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.9829, allocations: 187 kB / 1.402 GB, free: 11.59 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.9841, allocations: 0.7704 MB / 1.403 GB, free: 10.96 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.9841, allocations: 59.81 kB / 1.403 GB, free: 10.93 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.9843, allocations: 81.89 kB / 1.403 GB, free: 10.91 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.9859, allocations: 0.9174 MB / 1.404 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.9859, allocations: 1.062 kB / 1.404 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.812e-05/0.986, allocations: 36.53 kB / 1.404 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.986, allocations: 24.41 kB / 1.404 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.9879, allocations: 1.092 MB / 1.405 GB, free: 9.754 MB / 1.107 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.004222/0.9921, allocations: 2.83 MB / 1.408 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.9937, allocations: 0.78 MB / 1.409 GB, free: 7.035 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.9943, allocations: 294.3 kB / 1.409 GB, free: 6.891 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.383e-05/0.9944, allocations: 39.02 kB / 1.409 GB, free: 6.863 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008992/0.9953, allocations: 488.3 kB / 1.41 GB, free: 6.555 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.9953, allocations: 0 / 1.41 GB, free: 6.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.003314/0.9986, allocations: 1.183 MB / 1.411 GB, free: 5.91 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.9988, allocations: 192.7 kB / 1.411 GB, free: 5.688 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.9996, allocations: 0.6282 MB / 1.412 GB, free: 5.324 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.396e-05/0.9997, allocations: 43.23 kB / 1.412 GB, free: 5.281 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/1, allocations: 417.1 kB / 1.412 GB, free: 4.918 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/1, allocations: 265 kB / 1.412 GB, free: 4.688 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/1.001, allocations: 143.2 kB / 1.412 GB, free: 4.598 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.001, allocations: 389 kB / 1.413 GB, free: 4.227 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/1.001, allocations: 242.7 kB / 1.413 GB, free: 4.109 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/1.002, allocations: 357.4 kB / 1.413 GB, free: 3.879 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.003, allocations: 0.5809 MB / 1.414 GB, free: 3.555 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.003, allocations: 0 / 1.414 GB, free: 3.555 MB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001932/1.005, allocations: 0.7975 MB / 1.415 GB, free: 3.141 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.005, allocations: 7.156 kB / 1.415 GB, free: 3.141 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.005, allocations: 1.5 kB / 1.415 GB, free: 3.141 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/1.006, allocations: 83.84 kB / 1.415 GB, free: 3.098 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/1.006, allocations: 146.5 kB / 1.415 GB, free: 3.062 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/1.009, allocations: 1.637 MB / 1.417 GB, free: 1.453 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/1.009, allocations: 91.02 kB / 1.417 GB, free: 1.395 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/1.009, allocations: 28.2 kB / 1.417 GB, free: 1.387 MB / 1.107 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.000389/1.01, allocations: 277.1 kB / 1.417 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/1.01, allocations: 83.73 kB / 1.417 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/1.012, allocations: 1.051 MB / 1.418 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.012, allocations: 14.7 kB / 1.418 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.012, allocations: 0 / 1.418 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.012, allocations: 7.922 kB / 1.418 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/1.013, allocations: 0.88 MB / 1.419 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.013, allocations: 0 / 1.419 GB, free: 15.85 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/1.014, allocations: 143 kB / 1.419 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.015, allocations: 78.56 kB / 1.419 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/1.015, allocations: 23.64 kB / 1.419 GB, free: 15.76 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/1.017, allocations: 1.662 MB / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.017, allocations: 0 / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/1.019, allocations: 0.9182 MB / 1.422 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/1.019, allocations: 275.1 kB / 1.422 GB, free: 13.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.019, allocations: 25.83 kB / 1.422 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006285/1.02, allocations: 57.61 kB / 1.422 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.02, allocations: 69.98 kB / 1.422 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/1.02, allocations: 37.28 kB / 1.422 GB, free: 13.31 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005766/1.021, allocations: 467.2 kB / 1.423 GB, free: 13.04 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.021, allocations: 4 kB / 1.423 GB, free: 13.04 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007638/1.021, allocations: 315.2 kB / 1.423 GB, free: 12.95 MB / 1.123 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.004254/1.026, allocations: 1.965 MB / 1.425 GB, free: 11.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.027, allocations: 0.7929 MB / 1.426 GB, free: 10.49 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.027, allocations: 0 / 1.426 GB, free: 10.49 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.028, allocations: 0.5044 MB / 1.426 GB, free: 9.977 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/1.03, allocations: 306.1 kB / 1.426 GB, free: 9.699 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/1.041, allocations: 6.168 MB / 1.432 GB, free: 3.406 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/1.041, allocations: 1.031 MB / 1.433 GB, free: 2.352 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007809/1.042, allocations: 258.7 kB / 1.434 GB, free: 2.094 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/1.043, allocations: 399.2 kB / 1.434 GB, free: 1.703 MB / 1.123 GB Notification: Performance of SimCode: time 4.61e-07/1.043, allocations: 0 / 1.434 GB, free: 1.703 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05704/1.1, allocations: 21.46 MB / 1.455 GB, free: 12.53 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.01, allocations: 12.59 kB / 1.455 GB, free: 12.52 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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.csv","/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