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.001916/0.001916, allocations: 112 kB / 17.96 MB, free: 4.039 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.002165/0.002165, allocations: 201.4 kB / 21.22 MB, free: 0.793 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.415/1.415, allocations: 225.6 MB / 249.9 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] 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.629/2.629, allocations: 476.7 MB / 0.7635 GB, free: 10.18 MB / 0.6231 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.002027/0.002027, allocations: 67.89 kB / 1.108 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7258, allocations: 168.7 MB / 1.272 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006899/0.7327, allocations: 5.194 MB / 1.277 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.9012, allocations: 151.2 MB / 1.425 GB, free: 7.426 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009652/0.9021, allocations: 15.94 kB / 1.425 GB, free: 7.41 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.9029, allocations: 206.1 kB / 1.425 GB, free: 7.207 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.905, allocations: 0.5661 MB / 1.426 GB, free: 6.641 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.9073, allocations: 0.8577 MB / 1.427 GB, free: 5.789 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.9093, allocations: 1.424 MB / 1.428 GB, free: 4.359 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008527/0.9102, allocations: 429.6 kB / 1.429 GB, free: 3.918 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.911, allocations: 0.4905 MB / 1.429 GB, free: 3.426 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007138/0.9117, allocations: 0.5212 MB / 1.429 GB, free: 2.902 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.9119, allocations: 119.9 kB / 1.43 GB, free: 2.785 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.9129, allocations: 483.6 kB / 1.43 GB, free: 2.312 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.9132, allocations: 303 kB / 1.43 GB, free: 2.016 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000656/0.9139, allocations: 0.5751 MB / 1.431 GB, free: 1.438 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.9162, allocations: 1.673 MB / 1.433 GB, free: 15.76 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.9162, allocations: 0 / 1.433 GB, free: 15.76 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9162, allocations: 0 / 1.433 GB, free: 15.76 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.348e-05/0.9162, allocations: 0 / 1.433 GB, free: 15.76 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002798/0.919, allocations: 1.507 MB / 1.434 GB, free: 14.2 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9191, allocations: 8.031 kB / 1.434 GB, free: 14.19 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.9192, allocations: 135.6 kB / 1.434 GB, free: 14.05 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.9202, allocations: 196 kB / 1.434 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.9216, allocations: 0.7823 MB / 1.435 GB, free: 13.04 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.9216, allocations: 77.98 kB / 1.435 GB, free: 12.96 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.9218, allocations: 87.98 kB / 1.435 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.9234, allocations: 0.9301 MB / 1.436 GB, free: 11.9 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.9235, allocations: 7.922 kB / 1.436 GB, free: 11.89 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.9236, allocations: 36 kB / 1.436 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.9236, allocations: 20 kB / 1.436 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.9255, allocations: 1.12 MB / 1.437 GB, free: 10.72 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.004763/0.9302, allocations: 2.737 MB / 1.44 GB, free: 7.867 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.9318, allocations: 0.7696 MB / 1.441 GB, free: 7.094 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.9323, allocations: 287.2 kB / 1.441 GB, free: 6.805 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.9324, allocations: 28.61 kB / 1.441 GB, free: 6.777 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/0.9333, allocations: 0.4892 MB / 1.442 GB, free: 6.27 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.264e-06/0.9333, allocations: 0 / 1.442 GB, free: 6.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003337/0.9366, allocations: 1.214 MB / 1.443 GB, free: 5.031 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9368, allocations: 200.6 kB / 1.443 GB, free: 4.793 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/0.9377, allocations: 0.6333 MB / 1.444 GB, free: 4.148 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.9378, allocations: 45.7 kB / 1.444 GB, free: 4.098 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.9381, allocations: 413 kB / 1.444 GB, free: 3.688 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.9384, allocations: 285.5 kB / 1.444 GB, free: 3.406 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.9386, allocations: 150.6 kB / 1.444 GB, free: 3.25 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.9388, allocations: 386.8 kB / 1.445 GB, free: 2.863 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.9394, allocations: 257.8 kB / 1.445 GB, free: 2.613 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.94, allocations: 358.6 kB / 1.445 GB, free: 2.238 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.9411, allocations: 0.5916 MB / 1.446 GB, free: 1.633 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9411, allocations: 0 / 1.446 GB, free: 1.633 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001999/0.9431, allocations: 0.8179 MB / 1.447 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.9431, allocations: 8 kB / 1.447 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9431, allocations: 0 / 1.447 GB, free: 0.8008 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.9437, allocations: 84.86 kB / 1.447 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.9444, allocations: 155.8 kB / 1.447 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9467, allocations: 1.633 MB / 1.449 GB, free: 14.78 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/0.9475, allocations: 103.6 kB / 1.449 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.9476, allocations: 27.98 kB / 1.449 GB, free: 14.65 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 (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.0004984/0.9481, allocations: 265.6 kB / 1.449 GB, free: 14.38 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.9483, allocations: 87.48 kB / 1.449 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.9508, allocations: 1.07 MB / 1.45 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.9508, allocations: 8 kB / 1.45 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.9508, allocations: 0 / 1.45 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.9508, allocations: 7.984 kB / 1.45 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.952, allocations: 0.9076 MB / 1.451 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.952, allocations: 4 kB / 1.451 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.9527, allocations: 155.8 kB / 1.451 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.9532, allocations: 72.73 kB / 1.451 GB, free: 12 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.9532, allocations: 27.97 kB / 1.451 GB, free: 11.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.9553, allocations: 1.67 MB / 1.453 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9553, allocations: 4.062 kB / 1.453 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.9582, allocations: 1.336 MB / 1.454 GB, free: 8.801 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.9587, allocations: 276.2 kB / 1.454 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.9589, allocations: 31.89 kB / 1.454 GB, free: 8.48 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.9595, allocations: 59.92 kB / 1.454 GB, free: 8.422 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.9597, allocations: 72.97 kB / 1.455 GB, free: 8.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/0.9598, allocations: 35.97 kB / 1.455 GB, free: 8.316 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006875/0.9604, allocations: 467 kB / 1.455 GB, free: 7.863 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.9604, allocations: 0 / 1.455 GB, free: 7.863 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008796/0.9613, allocations: 323.2 kB / 1.455 GB, free: 7.547 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.005017/0.9663, allocations: 2.409 MB / 1.458 GB, free: 5.305 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.9681, allocations: 0.7805 MB / 1.458 GB, free: 4.512 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9681, allocations: 4 kB / 1.458 GB, free: 4.508 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.969, allocations: 492.2 kB / 1.459 GB, free: 4.012 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.9703, allocations: 318 kB / 1.459 GB, free: 3.73 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.9813, allocations: 6.398 MB / 1.465 GB, free: 13.18 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.982, allocations: 1.031 MB / 1.467 GB, free: 12.12 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008503/0.9828, allocations: 270.7 kB / 1.467 GB, free: 11.85 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.9834, allocations: 395.3 kB / 1.467 GB, free: 11.46 MB / 1.17 GB Notification: Performance of SimCode: time 1.022e-06/0.9834, allocations: 0 / 1.467 GB, free: 11.46 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05979/1.043, allocations: 22.08 MB / 1.489 GB, free: 5.594 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.48, allocations: 6.125 kB / 1.489 GB, free: 5.59 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_2/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: 20.38829608494416]