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.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.001396/0.001396, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001381/0.001381, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.733/2.733, allocations: 476.7 MB / 0.7678 GB, free: 9.406 MB / 0.6075 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.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",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.002084/0.002084, allocations: 61.62 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9441/0.9462, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008546/0.9548, allocations: 5.188 MB / 1.284 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2001/1.155, allocations: 154 MB / 1.434 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/1.157, allocations: 23.81 kB / 1.434 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/1.158, allocations: 206.1 kB / 1.435 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003586/1.162, allocations: 0.5695 MB / 1.435 GB, free: 11.95 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003761/1.166, allocations: 0.8645 MB / 1.436 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002921/1.169, allocations: 1.447 MB / 1.437 GB, free: 9.637 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/1.17, allocations: 439.8 kB / 1.438 GB, free: 9.184 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/1.171, allocations: 0.51 MB / 1.438 GB, free: 8.672 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/1.172, allocations: 0.5368 MB / 1.439 GB, free: 8.133 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003515/1.172, allocations: 120 kB / 1.439 GB, free: 8.016 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/1.174, allocations: 0.5074 MB / 1.439 GB, free: 7.508 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/1.175, allocations: 314.9 kB / 1.44 GB, free: 7.199 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009821/1.176, allocations: 0.5791 MB / 1.44 GB, free: 6.617 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/1.18, allocations: 1.708 MB / 1.442 GB, free: 4.902 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.18, allocations: 3.938 kB / 1.442 GB, free: 4.898 MB / 1.123 GB Notification: Performance of FrontEnd: time 6.221e-06/1.18, allocations: 3.984 kB / 1.442 GB, free: 4.895 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.536e-05/1.18, allocations: 0 / 1.442 GB, free: 4.895 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.004899/1.185, allocations: 1.53 MB / 1.444 GB, free: 3.312 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.185, allocations: 12.03 kB / 1.444 GB, free: 3.301 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.305e-05/1.185, allocations: 22.19 kB / 1.444 GB, free: 3.277 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/1.185, allocations: 143.6 kB / 1.444 GB, free: 3.129 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/1.188, allocations: 236 kB / 1.444 GB, free: 2.898 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/1.19, allocations: 0.7938 MB / 1.445 GB, free: 2.062 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.19, allocations: 69.98 kB / 1.445 GB, free: 1.996 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.191, allocations: 84 kB / 1.445 GB, free: 1.914 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/1.194, allocations: 0.9379 MB / 1.446 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.03e-05/1.194, allocations: 3.984 kB / 1.446 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/1.194, allocations: 40 kB / 1.446 GB, free: 0.8906 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/1.194, allocations: 24 kB / 1.446 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/1.197, allocations: 1.112 MB / 1.447 GB, free: 15.75 MB / 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.007965/1.205, allocations: 2.753 MB / 1.45 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/1.208, allocations: 0.7768 MB / 1.45 GB, free: 12.1 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008826/1.209, allocations: 278.7 kB / 1.451 GB, free: 11.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/1.209, allocations: 36.61 kB / 1.451 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/1.21, allocations: 493.1 kB / 1.451 GB, free: 11.29 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/1.21, allocations: 0 / 1.451 GB, free: 11.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.004685/1.215, allocations: 1.217 MB / 1.452 GB, free: 10.04 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.215, allocations: 188.6 kB / 1.452 GB, free: 9.816 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.216, allocations: 0.6646 MB / 1.453 GB, free: 9.148 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/1.216, allocations: 45.7 kB / 1.453 GB, free: 9.098 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/1.217, allocations: 425 kB / 1.454 GB, free: 8.676 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/1.217, allocations: 277.6 kB / 1.454 GB, free: 8.402 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/1.217, allocations: 150.6 kB / 1.454 GB, free: 8.25 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.218, allocations: 390.8 kB / 1.454 GB, free: 7.859 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/1.218, allocations: 245.9 kB / 1.455 GB, free: 7.621 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/1.219, allocations: 362.5 kB / 1.455 GB, free: 7.238 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.22, allocations: 0.5994 MB / 1.456 GB, free: 6.629 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.22, allocations: 4 kB / 1.456 GB, free: 6.625 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002092/1.222, allocations: 0.814 MB / 1.456 GB, free: 5.801 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.222, allocations: 8 kB / 1.456 GB, free: 5.793 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.222, allocations: 3.938 kB / 1.456 GB, free: 5.789 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/1.223, allocations: 84.86 kB / 1.456 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/1.223, allocations: 159.8 kB / 1.457 GB, free: 5.547 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/1.226, allocations: 1.641 MB / 1.458 GB, free: 3.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008478/1.227, allocations: 81.92 kB / 1.458 GB, free: 3.688 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.227, allocations: 35.97 kB / 1.458 GB, free: 3.652 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.0005927/1.227, allocations: 277.6 kB / 1.459 GB, free: 3.371 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/1.228, allocations: 91.39 kB / 1.459 GB, free: 3.281 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/1.23, allocations: 1.074 MB / 1.46 GB, free: 2.191 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.23, allocations: 15.98 kB / 1.46 GB, free: 2.176 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.23, allocations: 0 / 1.46 GB, free: 2.176 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.23, allocations: 3.984 kB / 1.46 GB, free: 2.172 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/1.232, allocations: 0.9154 MB / 1.461 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.232, allocations: 0 / 1.461 GB, free: 1.207 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/1.232, allocations: 155.7 kB / 1.461 GB, free: 1.055 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/1.233, allocations: 76.72 kB / 1.461 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/1.233, allocations: 31.97 kB / 1.461 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.235, allocations: 1.646 MB / 1.462 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.235, allocations: 4.031 kB / 1.462 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/1.238, allocations: 1.344 MB / 1.464 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/1.239, allocations: 292.2 kB / 1.464 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/1.239, allocations: 19.94 kB / 1.464 GB, free: 13.46 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007156/1.24, allocations: 63.92 kB / 1.464 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.24, allocations: 68.91 kB / 1.464 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/1.24, allocations: 35.97 kB / 1.464 GB, free: 13.3 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007394/1.241, allocations: 491 kB / 1.465 GB, free: 12.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/1.241, allocations: 4 kB / 1.465 GB, free: 12.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000971/1.242, allocations: 327.1 kB / 1.465 GB, free: 12.5 MB / 1.154 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.005104/1.247, allocations: 2.392 MB / 1.467 GB, free: 10.25 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001868/1.249, allocations: 0.7765 MB / 1.468 GB, free: 9.469 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.249, allocations: 4 kB / 1.468 GB, free: 9.465 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.25, allocations: 0.4964 MB / 1.469 GB, free: 8.957 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.251, allocations: 311.4 kB / 1.469 GB, free: 8.676 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/1.263, allocations: 6.443 MB / 1.475 GB, free: 2.074 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/1.264, allocations: 1.047 MB / 1.476 GB, free: 1 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009283/1.265, allocations: 262.8 kB / 1.476 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/1.266, allocations: 403.3 kB / 1.477 GB, free: 352 kB / 1.154 GB Notification: Performance of SimCode: time 7.22e-07/1.266, allocations: 0 / 1.477 GB, free: 352 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05919/1.325, allocations: 22.37 MB / 1.499 GB, free: 10.24 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.87, allocations: 20.47 kB / 1.499 GB, free: 10.22 MB / 1.186 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 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.mat","/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: 21.144101798010524]