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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 216.9 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.199/3.199, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.59 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007105/0.3702, allocations: 4.674 MB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.5334, allocations: 132.7 MB / 1.498 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009611/0.5344, allocations: 19.88 kB / 1.498 GB, free: 4.188 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009546/0.5353, allocations: 202.1 kB / 1.498 GB, free: 3.988 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.5378, allocations: 0.5795 MB / 1.498 GB, free: 3.41 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.5404, allocations: 0.8651 MB / 1.499 GB, free: 2.551 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002285/0.5427, allocations: 1.443 MB / 1.501 GB, free: 1.102 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.5438, allocations: 406.2 kB / 1.501 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.5449, allocations: 0.5178 MB / 1.501 GB, free: 164 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009189/0.5459, allocations: 473.9 kB / 1.502 GB, free: 15.69 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.5462, allocations: 120 kB / 1.502 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5475, allocations: 499.4 kB / 1.503 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.5479, allocations: 311 kB / 1.503 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007729/0.5487, allocations: 485.7 kB / 1.503 GB, free: 14.31 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.5515, allocations: 1.732 MB / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5515, allocations: 0 / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5515, allocations: 3.938 kB / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.414e-05/0.5516, allocations: 0 / 1.505 GB, free: 12.57 MB / 1.201 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.003509/0.5551, allocations: 1.451 MB / 1.506 GB, free: 11.08 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5552, allocations: 12.03 kB / 1.506 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/0.5554, allocations: 135.6 kB / 1.507 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.5569, allocations: 244 kB / 1.507 GB, free: 10.69 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5585, allocations: 0.7258 MB / 1.507 GB, free: 9.934 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.929e-05/0.5585, allocations: 66 kB / 1.508 GB, free: 9.867 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.5587, allocations: 84 kB / 1.508 GB, free: 9.785 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.5606, allocations: 1.181 MB / 1.509 GB, free: 8.504 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.5606, allocations: 0 / 1.509 GB, free: 8.504 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-05/0.5607, allocations: 40 kB / 1.509 GB, free: 8.465 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.5607, allocations: 20 kB / 1.509 GB, free: 8.445 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.5627, allocations: 1.081 MB / 1.51 GB, free: 7.363 MB / 1.201 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.00451/0.5672, allocations: 2.271 MB / 1.512 GB, free: 5.027 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.5688, allocations: 0.7584 MB / 1.513 GB, free: 4.266 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.5693, allocations: 290.7 kB / 1.513 GB, free: 3.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.5694, allocations: 20.64 kB / 1.513 GB, free: 3.961 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009683/0.5704, allocations: 0.5961 MB / 1.514 GB, free: 3.324 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/0.5704, allocations: 0 / 1.514 GB, free: 3.324 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003304/0.5737, allocations: 1.138 MB / 1.515 GB, free: 2.176 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5738, allocations: 200.5 kB / 1.515 GB, free: 1.938 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.5748, allocations: 0.6646 MB / 1.516 GB, free: 1.262 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.5749, allocations: 41.7 kB / 1.516 GB, free: 1.215 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.5753, allocations: 429 kB / 1.516 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.5755, allocations: 277.6 kB / 1.516 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.5758, allocations: 154.6 kB / 1.517 GB, free: 368 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.576, allocations: 386.8 kB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.5766, allocations: 249.9 kB / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/0.5773, allocations: 491.1 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5784, allocations: 0.5955 MB / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5784, allocations: 0 / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002029/0.5804, allocations: 0.8179 MB / 1.519 GB, free: 13.76 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5805, allocations: 11.98 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5805, allocations: 0 / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.5811, allocations: 76.88 kB / 1.519 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.5817, allocations: 167.7 kB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.5841, allocations: 1.511 MB / 1.521 GB, free: 11.88 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/0.5848, allocations: 99.5 kB / 1.521 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/0.5849, allocations: 31.98 kB / 1.521 GB, free: 11.75 MB / 1.217 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.0005206/0.5854, allocations: 265.7 kB / 1.521 GB, free: 11.48 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.5857, allocations: 87.44 kB / 1.521 GB, free: 11.39 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.5882, allocations: 1.082 MB / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5882, allocations: 12 kB / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5882, allocations: 0 / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.5882, allocations: 7.969 kB / 1.522 GB, free: 10.28 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.5894, allocations: 0.7663 MB / 1.523 GB, free: 9.469 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/0.5894, allocations: 0 / 1.523 GB, free: 9.469 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.59, allocations: 155.8 kB / 1.523 GB, free: 9.316 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/0.5905, allocations: 72.72 kB / 1.523 GB, free: 9.242 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.5905, allocations: 27.98 kB / 1.523 GB, free: 9.215 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.5926, allocations: 1.539 MB / 1.525 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5926, allocations: 8 kB / 1.525 GB, free: 7.543 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.5954, allocations: 1.34 MB / 1.526 GB, free: 6.188 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005285/0.5959, allocations: 215 kB / 1.526 GB, free: 5.977 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5961, allocations: 24.14 kB / 1.526 GB, free: 5.953 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.5967, allocations: 66.45 kB / 1.526 GB, free: 5.891 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.5969, allocations: 76.8 kB / 1.526 GB, free: 5.812 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.597, allocations: 35.97 kB / 1.526 GB, free: 5.777 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007024/0.5977, allocations: 487 kB / 1.527 GB, free: 5.305 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5977, allocations: 4.062 kB / 1.527 GB, free: 5.301 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009394/0.5986, allocations: 327.2 kB / 1.527 GB, free: 4.98 MB / 1.217 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.005043/0.6037, allocations: 2.424 MB / 1.53 GB, free: 2.73 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.6054, allocations: 0.7806 MB / 1.53 GB, free: 1.938 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6054, allocations: 0 / 1.53 GB, free: 1.938 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.6063, allocations: 0.4885 MB / 1.531 GB, free: 1.441 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6077, allocations: 309.1 kB / 1.531 GB, free: 1.16 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.6192, allocations: 6.445 MB / 1.537 GB, free: 10.56 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.6198, allocations: 456.7 kB / 1.538 GB, free: 10.08 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000869/0.6206, allocations: 270.8 kB / 1.538 GB, free: 9.812 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.6212, allocations: 399.3 kB / 1.539 GB, free: 9.422 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/0.6212, allocations: 4 kB / 1.539 GB, free: 9.418 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/0.6877, allocations: 23.9 MB / 1.562 GB, free: 1.805 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.96, allocations: 9.094 kB / 1.562 GB, free: 1.801 MB / 1.248 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.750777946785092]