Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_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.00683/0.00683, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.001849/0.001849, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.926/2.926, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003108/0.003108, allocations: 63.83 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3201, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007086/0.3272, allocations: 5.118 MB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7265/1.054, allocations: 150.6 MB / 1.372 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/1.055, allocations: 20.72 kB / 1.372 GB, free: 10.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007716/1.055, allocations: 191.9 kB / 1.372 GB, free: 10.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/1.057, allocations: 0.5623 MB / 1.373 GB, free: 10.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/1.06, allocations: 0.8359 MB / 1.374 GB, free: 9.984 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001945/1.062, allocations: 1.429 MB / 1.375 GB, free: 9.246 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/1.063, allocations: 0.597 MB / 1.376 GB, free: 8.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008118/1.063, allocations: 0.4907 MB / 1.376 GB, free: 8.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/1.064, allocations: 0.5117 MB / 1.377 GB, free: 8.414 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/1.064, allocations: 117.8 kB / 1.377 GB, free: 8.414 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009634/1.065, allocations: 491.1 kB / 1.377 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003055/1.065, allocations: 303.5 kB / 1.378 GB, free: 8.102 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005809/1.066, allocations: 0.5726 MB / 1.378 GB, free: 7.723 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/1.068, allocations: 1.673 MB / 1.38 GB, free: 6.816 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.068, allocations: 1.375 kB / 1.38 GB, free: 6.816 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.068, allocations: 0 / 1.38 GB, free: 6.816 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.089e-05/1.068, allocations: 0 / 1.38 GB, free: 6.816 MB / 1.076 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.002811/1.071, allocations: 1.502 MB / 1.381 GB, free: 5.633 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/1.071, allocations: 9.781 kB / 1.381 GB, free: 5.633 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/1.071, allocations: 144.9 kB / 1.381 GB, free: 5.512 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/1.072, allocations: 194 kB / 1.382 GB, free: 5.418 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/1.073, allocations: 0.783 MB / 1.382 GB, free: 4.777 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/1.074, allocations: 64.53 kB / 1.382 GB, free: 4.746 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/1.074, allocations: 83.77 kB / 1.383 GB, free: 4.719 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.075, allocations: 0.9372 MB / 1.383 GB, free: 4.117 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.075, allocations: 5.781 kB / 1.383 GB, free: 4.113 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/1.076, allocations: 40.91 kB / 1.384 GB, free: 4.082 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/1.076, allocations: 25.61 kB / 1.384 GB, free: 4.078 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.077, allocations: 1.117 MB / 1.385 GB, free: 3.543 MB / 1.076 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.004303/1.082, allocations: 2.743 MB / 1.387 GB, free: 1.348 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/1.083, allocations: 0.8166 MB / 1.388 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/1.084, allocations: 303.6 kB / 1.388 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/1.084, allocations: 37.67 kB / 1.388 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/1.085, allocations: 498.7 kB / 1.389 GB, free: 460 kB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.085, allocations: 0 / 1.389 GB, free: 460 kB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003457/1.089, allocations: 1.212 MB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.089, allocations: 189.4 kB / 1.39 GB, free: 15.57 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/1.09, allocations: 0.6368 MB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/1.09, allocations: 47.23 kB / 1.391 GB, free: 15.16 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/1.09, allocations: 418.4 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/1.09, allocations: 282.4 kB / 1.392 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/1.091, allocations: 153 kB / 1.392 GB, free: 14.45 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002194/1.091, allocations: 385.5 kB / 1.392 GB, free: 14.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/1.091, allocations: 246.2 kB / 1.392 GB, free: 13.97 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/1.092, allocations: 373.9 kB / 1.393 GB, free: 13.73 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.093, allocations: 0.595 MB / 1.393 GB, free: 13.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/1.093, allocations: 3.938 kB / 1.393 GB, free: 13.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002011/1.095, allocations: 0.8136 MB / 1.394 GB, free: 12.99 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.095, allocations: 5.594 kB / 1.394 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.095, allocations: 5.156 kB / 1.394 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/1.096, allocations: 84.77 kB / 1.394 GB, free: 12.94 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/1.097, allocations: 157.4 kB / 1.394 GB, free: 12.9 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/1.099, allocations: 1.626 MB / 1.396 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/1.1, allocations: 93.27 kB / 1.396 GB, free: 11.24 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/1.1, allocations: 28.33 kB / 1.396 GB, free: 11.23 MB / 1.092 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.0004279/1.1, allocations: 275.9 kB / 1.396 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.1, allocations: 92.16 kB / 1.396 GB, free: 10.96 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/1.103, allocations: 1.066 MB / 1.397 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.103, allocations: 13.7 kB / 1.397 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.103, allocations: 0 / 1.397 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.103, allocations: 7.922 kB / 1.397 GB, free: 10.37 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/1.104, allocations: 0.9126 MB / 1.398 GB, free: 9.676 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.104, allocations: 1.312 kB / 1.398 GB, free: 9.676 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/1.105, allocations: 156.4 kB / 1.398 GB, free: 9.637 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/1.105, allocations: 67.2 kB / 1.399 GB, free: 9.605 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/1.105, allocations: 30.81 kB / 1.399 GB, free: 9.582 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/1.108, allocations: 1.658 MB / 1.4 GB, free: 7.965 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.108, allocations: 1.375 kB / 1.4 GB, free: 7.965 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/1.111, allocations: 1.347 MB / 1.402 GB, free: 7.238 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/1.111, allocations: 276.3 kB / 1.402 GB, free: 6.996 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.111, allocations: 21.84 kB / 1.402 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/1.112, allocations: 60.25 kB / 1.402 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.112, allocations: 72.67 kB / 1.402 GB, free: 6.918 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/1.112, allocations: 33.89 kB / 1.402 GB, free: 6.906 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005986/1.113, allocations: 473.2 kB / 1.402 GB, free: 6.633 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.113, allocations: 0 / 1.402 GB, free: 6.633 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008768/1.114, allocations: 331.8 kB / 1.403 GB, free: 6.539 MB / 1.092 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.004893/1.119, allocations: 2.402 MB / 1.405 GB, free: 5.082 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.12, allocations: 0.8072 MB / 1.406 GB, free: 4.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.12, allocations: 1.344 kB / 1.406 GB, free: 4.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009807/1.121, allocations: 0.5221 MB / 1.406 GB, free: 4.363 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.123, allocations: 312.3 kB / 1.407 GB, free: 4.207 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.134, allocations: 6.376 MB / 1.413 GB, free: 15.38 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/1.134, allocations: 1.037 MB / 1.414 GB, free: 14.31 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009012/1.135, allocations: 266.7 kB / 1.414 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/1.136, allocations: 399.3 kB / 1.415 GB, free: 13.66 MB / 1.107 GB Notification: Performance of SimCode: time 6.82e-07/1.136, allocations: 0 / 1.415 GB, free: 13.66 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/1.198, allocations: 21.91 MB / 1.436 GB, free: 8.023 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.56, allocations: 10.39 kB / 1.436 GB, free: 8.016 MB / 1.123 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches