Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001797/0.001797, allocations: 108 kB / 16.45 MB, free: 6.512 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.002216/0.002216, allocations: 212.2 kB / 19.43 MB, free: 3.648 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.443/1.443, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002094/0.002094, allocations: 67.91 kB / 1.112 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6855, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00768/0.6931, allocations: 5.31 MB / 1.283 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.869, allocations: 154 MB / 1.434 GB, free: 13.45 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.8698, allocations: 23.81 kB / 1.434 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.8707, allocations: 210.1 kB / 1.434 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.873, allocations: 0.5787 MB / 1.435 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.8754, allocations: 0.8639 MB / 1.436 GB, free: 11.79 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.8775, allocations: 1.478 MB / 1.437 GB, free: 10.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.8786, allocations: 450.1 kB / 1.437 GB, free: 9.836 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.8796, allocations: 0.5256 MB / 1.438 GB, free: 9.309 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009045/0.8805, allocations: 0.5368 MB / 1.438 GB, free: 8.77 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.8808, allocations: 120 kB / 1.439 GB, free: 8.652 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.882, allocations: 0.5152 MB / 1.439 GB, free: 8.137 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.8824, allocations: 311 kB / 1.439 GB, free: 7.832 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007928/0.8832, allocations: 0.5946 MB / 1.44 GB, free: 7.234 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.8859, allocations: 1.747 MB / 1.442 GB, free: 5.48 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8859, allocations: 0 / 1.442 GB, free: 5.48 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8859, allocations: 0 / 1.442 GB, free: 5.48 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.887e-05/0.886, allocations: 0 / 1.442 GB, free: 5.48 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003305/0.8893, allocations: 1.557 MB / 1.443 GB, free: 3.871 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.8893, allocations: 8.031 kB / 1.443 GB, free: 3.863 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/0.8895, allocations: 139.7 kB / 1.443 GB, free: 3.719 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.8911, allocations: 247.9 kB / 1.444 GB, free: 3.477 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.8925, allocations: 0.8018 MB / 1.444 GB, free: 2.633 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.8925, allocations: 70 kB / 1.444 GB, free: 2.562 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.8927, allocations: 87.98 kB / 1.444 GB, free: 2.477 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.8945, allocations: 0.9496 MB / 1.445 GB, free: 1.488 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.8945, allocations: 0 / 1.445 GB, free: 1.488 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.8946, allocations: 40 kB / 1.445 GB, free: 1.449 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.8947, allocations: 24 kB / 1.445 GB, free: 1.426 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.8967, allocations: 1.136 MB / 1.447 GB, free: 296 kB / 1.139 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.005055/0.9018, allocations: 2.803 MB / 1.449 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.9036, allocations: 0.8011 MB / 1.45 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.9042, allocations: 290.7 kB / 1.45 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-05/0.9043, allocations: 34.75 kB / 1.45 GB, free: 12.24 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.9053, allocations: 0.508 MB / 1.451 GB, free: 11.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 2.615e-06/0.9053, allocations: 0 / 1.451 GB, free: 11.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003598/0.9089, allocations: 1.263 MB / 1.452 GB, free: 10.42 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.909, allocations: 192.9 kB / 1.452 GB, free: 10.19 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.9101, allocations: 0.6724 MB / 1.453 GB, free: 9.508 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.9102, allocations: 41.7 kB / 1.453 GB, free: 9.461 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.9106, allocations: 437 kB / 1.453 GB, free: 9.027 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.9109, allocations: 285.5 kB / 1.454 GB, free: 8.746 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.9112, allocations: 146.6 kB / 1.454 GB, free: 8.598 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.9114, allocations: 398.7 kB / 1.454 GB, free: 8.199 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.912, allocations: 261.9 kB / 1.454 GB, free: 7.941 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.9127, allocations: 366.5 kB / 1.455 GB, free: 7.559 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.9138, allocations: 0.6125 MB / 1.455 GB, free: 6.938 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.9138, allocations: 0 / 1.455 GB, free: 6.938 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002159/0.916, allocations: 0.8374 MB / 1.456 GB, free: 6.09 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.9161, allocations: 8 kB / 1.456 GB, free: 6.082 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9161, allocations: 0 / 1.456 GB, free: 6.082 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.9167, allocations: 80.88 kB / 1.456 GB, free: 6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.9174, allocations: 171.7 kB / 1.456 GB, free: 5.832 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/0.9197, allocations: 1.63 MB / 1.458 GB, free: 4.059 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/0.9205, allocations: 95.56 kB / 1.458 GB, free: 3.965 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.9206, allocations: 27.98 kB / 1.458 GB, free: 3.938 MB / 1.154 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 (92): * Single equations (assignments): 91 * 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.0005233/0.9211, allocations: 273.6 kB / 1.458 GB, free: 3.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.9213, allocations: 91.44 kB / 1.459 GB, free: 3.57 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.924, allocations: 1.09 MB / 1.46 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.924, allocations: 12 kB / 1.46 GB, free: 2.453 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9241, allocations: 4 kB / 1.46 GB, free: 2.449 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9241, allocations: 7.984 kB / 1.46 GB, free: 2.441 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.9255, allocations: 0.9504 MB / 1.461 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.9255, allocations: 3.938 kB / 1.461 GB, free: 1.438 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.9262, allocations: 159.7 kB / 1.461 GB, free: 1.281 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/0.9267, allocations: 76.78 kB / 1.461 GB, free: 1.203 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/0.9268, allocations: 23.98 kB / 1.461 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.9289, allocations: 1.654 MB / 1.462 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9289, allocations: 4.062 kB / 1.462 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/0.932, allocations: 1.367 MB / 1.464 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.9325, allocations: 288.1 kB / 1.464 GB, free: 13.69 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.9326, allocations: 24 kB / 1.464 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.9333, allocations: 63.98 kB / 1.464 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.9335, allocations: 76.89 kB / 1.464 GB, free: 13.53 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.9336, allocations: 31.98 kB / 1.464 GB, free: 13.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007553/0.9343, allocations: 495 kB / 1.465 GB, free: 13.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.9343, allocations: 0 / 1.465 GB, free: 13.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009521/0.9353, allocations: 335.1 kB / 1.465 GB, free: 12.69 MB / 1.17 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 (96): * Single equations (assignments): 90 * 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.005261/0.9405, allocations: 2.42 MB / 1.467 GB, free: 10.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.9425, allocations: 0.7962 MB / 1.468 GB, free: 9.609 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.9425, allocations: 4 kB / 1.468 GB, free: 9.605 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.9436, allocations: 0.4963 MB / 1.469 GB, free: 9.094 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.9451, allocations: 325.8 kB / 1.469 GB, free: 8.805 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.9582, allocations: 6.614 MB / 1.475 GB, free: 2.035 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000857/0.9591, allocations: 1.051 MB / 1.476 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009549/0.96, allocations: 267 kB / 1.477 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007182/0.9608, allocations: 411.3 kB / 1.477 GB, free: 292 kB / 1.17 GB Notification: Performance of SimCode: time 9.71e-07/0.9608, allocations: 0 / 1.477 GB, free: 292 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06838/1.029, allocations: 22.66 MB / 1.499 GB, free: 9.883 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.1, allocations: 17.86 kB / 1.499 GB, free: 9.871 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.314018717966974]