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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.483/2.483, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.88 kB / 1.107 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.7557, allocations: 168.7 MB / 1.271 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005243/0.761, allocations: 5.182 MB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1663/0.9272, allocations: 151.2 MB / 1.424 GB, free: 3.641 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.9283, allocations: 16 kB / 1.424 GB, free: 3.637 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.0008181/0.9291, allocations: 203.7 kB / 1.424 GB, free: 3.457 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.9314, allocations: 0.5653 MB / 1.425 GB, free: 3.031 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.9337, allocations: 0.8663 MB / 1.426 GB, free: 2.367 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.9357, allocations: 1.419 MB / 1.427 GB, free: 1.484 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008324/0.9365, allocations: 434.9 kB / 1.427 GB, free: 1.164 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008462/0.9373, allocations: 0.4886 MB / 1.428 GB, free: 0.8711 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008702/0.9382, allocations: 0.5159 MB / 1.428 GB, free: 0.5039 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.0002738/0.9385, allocations: 118 kB / 1.429 GB, free: 0.5039 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.9396, allocations: 482.9 kB / 1.429 GB, free: 336 kB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.9399, allocations: 305.9 kB / 1.429 GB, free: 88 kB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.0007696/0.9407, allocations: 0.5748 MB / 1.43 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/0.9432, allocations: 1.671 MB / 1.432 GB, free: 14.46 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9432, allocations: 0 / 1.432 GB, free: 14.46 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9432, allocations: 1.156 kB / 1.432 GB, free: 14.46 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.582e-05/0.9432, allocations: 0 / 1.432 GB, free: 14.46 MB / 1.123 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.003213/0.9464, allocations: 1.504 MB / 1.433 GB, free: 13.27 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.9465, allocations: 9.875 kB / 1.433 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002286/0.9467, allocations: 138 kB / 1.433 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009782/0.9477, allocations: 197.9 kB / 1.433 GB, free: 13.06 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.9489, allocations: 0.7826 MB / 1.434 GB, free: 12.42 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.949, allocations: 68.83 kB / 1.434 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.9491, allocations: 83.41 kB / 1.434 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.9506, allocations: 0.9298 MB / 1.435 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.9506, allocations: 3.938 kB / 1.435 GB, free: 11.76 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.9507, allocations: 41.61 kB / 1.435 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.9507, allocations: 20.62 kB / 1.435 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.9524, allocations: 1.126 MB / 1.436 GB, free: 11.19 MB / 1.123 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.003881/0.9563, allocations: 2.742 MB / 1.439 GB, free: 8.859 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.9577, allocations: 0.7696 MB / 1.44 GB, free: 8.086 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.9583, allocations: 278.7 kB / 1.44 GB, free: 7.805 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/0.9583, allocations: 36.59 kB / 1.44 GB, free: 7.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/0.9592, allocations: 0.4931 MB / 1.441 GB, free: 7.258 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.335e-06/0.9592, allocations: 0 / 1.441 GB, free: 7.258 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003074/0.9622, allocations: 1.214 MB / 1.442 GB, free: 6.02 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.9623, allocations: 196.6 kB / 1.442 GB, free: 5.785 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007843/0.9631, allocations: 0.6333 MB / 1.443 GB, free: 5.145 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.9632, allocations: 45.7 kB / 1.443 GB, free: 5.094 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.9635, allocations: 413 kB / 1.443 GB, free: 4.684 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.9637, allocations: 293.5 kB / 1.443 GB, free: 4.395 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.9639, allocations: 150.6 kB / 1.443 GB, free: 4.242 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9641, allocations: 386.8 kB / 1.444 GB, free: 3.855 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.9646, allocations: 249.9 kB / 1.444 GB, free: 3.613 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.9652, allocations: 366.6 kB / 1.444 GB, free: 3.227 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.9663, allocations: 0.5916 MB / 1.445 GB, free: 2.625 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9663, allocations: 0 / 1.445 GB, free: 2.625 MB / 1.123 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001798/0.9681, allocations: 0.8179 MB / 1.446 GB, free: 1.797 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.9681, allocations: 8 kB / 1.446 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9681, allocations: 0 / 1.446 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.9686, allocations: 84.86 kB / 1.446 GB, free: 1.703 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.9692, allocations: 155.8 kB / 1.446 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.9713, allocations: 1.623 MB / 1.448 GB, free: 15.78 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.9719, allocations: 98.67 kB / 1.448 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.972, allocations: 27.98 kB / 1.448 GB, free: 15.66 MB / 1.139 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.00037/0.9723, allocations: 273.8 kB / 1.448 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.9725, allocations: 91.44 kB / 1.448 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.9748, allocations: 1.066 MB / 1.449 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9748, allocations: 8 kB / 1.449 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.9748, allocations: 0 / 1.449 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.9748, allocations: 3.984 kB / 1.449 GB, free: 14.2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.9758, allocations: 0.9154 MB / 1.45 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9758, allocations: 4 kB / 1.45 GB, free: 13.23 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.9764, allocations: 151.8 kB / 1.45 GB, free: 13.08 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004053/0.9768, allocations: 72.73 kB / 1.45 GB, free: 13.01 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.9769, allocations: 27.97 kB / 1.45 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.9787, allocations: 1.666 MB / 1.452 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9787, allocations: 3.984 kB / 1.452 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.9813, allocations: 1.34 MB / 1.453 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.9816, allocations: 276.2 kB / 1.453 GB, free: 9.516 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.9817, allocations: 28 kB / 1.453 GB, free: 9.488 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.9823, allocations: 65.8 kB / 1.453 GB, free: 9.426 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.9824, allocations: 68.91 kB / 1.454 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.634e-05/0.9825, allocations: 35.97 kB / 1.454 GB, free: 9.324 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005582/0.9831, allocations: 467 kB / 1.454 GB, free: 8.871 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9831, allocations: 3.938 kB / 1.454 GB, free: 8.867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007896/0.9839, allocations: 327.2 kB / 1.454 GB, free: 8.547 MB / 1.139 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.00448/0.9883, allocations: 2.396 MB / 1.457 GB, free: 6.301 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.9899, allocations: 0.7804 MB / 1.457 GB, free: 5.512 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9899, allocations: 3.938 kB / 1.457 GB, free: 5.508 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008948/0.9908, allocations: 496.4 kB / 1.458 GB, free: 5.008 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.9919, allocations: 310.3 kB / 1.458 GB, free: 4.73 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00988/1.002, allocations: 6.394 MB / 1.464 GB, free: 14.18 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/1.002, allocations: 1.03 MB / 1.465 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007303/1.003, allocations: 266.7 kB / 1.466 GB, free: 12.86 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/1.004, allocations: 403.2 kB / 1.466 GB, free: 12.46 MB / 1.154 GB Notification: Performance of SimCode: time 8.52e-07/1.004, allocations: 0 / 1.466 GB, free: 12.46 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/1.065, allocations: 22.09 MB / 1.488 GB, free: 6.586 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.01, allocations: 6.406 kB / 1.488 GB, free: 6.582 MB / 1.17 GB " [Timeout remaining time 287] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.50544322800124]