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.001746/0.001746, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.002061/0.002061, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.652/2.652, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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.001892/0.001892, allocations: 71.88 kB / 1.104 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7064, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007559/0.714, allocations: 5.153 MB / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.8807, allocations: 151.1 MB / 1.421 GB, free: 8.324 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.8815, allocations: 15.94 kB / 1.421 GB, free: 8.309 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.8821, allocations: 210 kB / 1.422 GB, free: 8.102 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.8838, allocations: 0.5551 MB / 1.422 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.8858, allocations: 0.8438 MB / 1.423 GB, free: 6.707 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.8875, allocations: 1.42 MB / 1.424 GB, free: 5.281 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007911/0.8883, allocations: 445.5 kB / 1.425 GB, free: 4.82 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007141/0.889, allocations: 498.3 kB / 1.425 GB, free: 4.332 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006806/0.8897, allocations: 0.5095 MB / 1.426 GB, free: 3.82 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.8899, allocations: 120 kB / 1.426 GB, free: 3.703 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000914/0.8908, allocations: 491.6 kB / 1.426 GB, free: 3.223 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.8911, allocations: 299 kB / 1.427 GB, free: 2.93 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.8917, allocations: 0.5791 MB / 1.427 GB, free: 2.348 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.8938, allocations: 1.673 MB / 1.429 GB, free: 0.668 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8938, allocations: 0 / 1.429 GB, free: 0.668 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8938, allocations: 0 / 1.429 GB, free: 0.668 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.8938, allocations: 0 / 1.429 GB, free: 0.668 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.002744/0.8966, allocations: 1.503 MB / 1.43 GB, free: 15.11 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.8966, allocations: 12.03 kB / 1.43 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.8968, allocations: 139.6 kB / 1.43 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.8977, allocations: 196 kB / 1.431 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.8991, allocations: 0.7824 MB / 1.431 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.8991, allocations: 65.98 kB / 1.431 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.8992, allocations: 80 kB / 1.431 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.9008, allocations: 0.934 MB / 1.432 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.9009, allocations: 0 / 1.432 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.784e-05/0.9009, allocations: 51.92 kB / 1.432 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.901, allocations: 20 kB / 1.432 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.9028, allocations: 1.12 MB / 1.434 GB, free: 11.63 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.004442/0.9073, allocations: 2.748 MB / 1.436 GB, free: 8.766 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.9088, allocations: 0.7663 MB / 1.437 GB, free: 7.992 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.9093, allocations: 278.7 kB / 1.437 GB, free: 7.715 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.9094, allocations: 28.61 kB / 1.437 GB, free: 7.688 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/0.9103, allocations: 0.5019 MB / 1.438 GB, free: 7.168 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.224e-06/0.9103, allocations: 0 / 1.438 GB, free: 7.168 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003262/0.9135, allocations: 1.21 MB / 1.439 GB, free: 5.934 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.9137, allocations: 192.5 kB / 1.439 GB, free: 5.703 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008817/0.9146, allocations: 0.6372 MB / 1.44 GB, free: 5.055 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/0.9146, allocations: 45.7 kB / 1.44 GB, free: 5.004 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.915, allocations: 417 kB / 1.44 GB, free: 4.59 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.9153, allocations: 285.5 kB / 1.44 GB, free: 4.309 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.9155, allocations: 154.6 kB / 1.441 GB, free: 4.152 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.9158, allocations: 382.8 kB / 1.441 GB, free: 3.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.9163, allocations: 249.9 kB / 1.441 GB, free: 3.523 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.9169, allocations: 362.6 kB / 1.442 GB, free: 3.145 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9181, allocations: 0.5916 MB / 1.442 GB, free: 2.543 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9181, allocations: 0 / 1.442 GB, free: 2.543 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001969/0.9201, allocations: 0.8218 MB / 1.443 GB, free: 1.711 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9201, allocations: 4 kB / 1.443 GB, free: 1.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.9201, allocations: 4 kB / 1.443 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.9207, allocations: 80.86 kB / 1.443 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.9214, allocations: 155.8 kB / 1.443 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.9236, allocations: 1.63 MB / 1.445 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.9243, allocations: 91.41 kB / 1.445 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.9244, allocations: 27.98 kB / 1.445 GB, free: 15.57 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.0004449/0.9248, allocations: 273.7 kB / 1.445 GB, free: 15.29 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.925, allocations: 83.48 kB / 1.445 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.9274, allocations: 1.074 MB / 1.446 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.9275, allocations: 19.92 kB / 1.446 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9275, allocations: 4 kB / 1.446 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.9275, allocations: 3.984 kB / 1.446 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.9286, allocations: 0.9075 MB / 1.447 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9287, allocations: 0 / 1.447 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.9293, allocations: 155.8 kB / 1.447 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/0.9297, allocations: 72.73 kB / 1.447 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.9298, allocations: 27.97 kB / 1.447 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.9318, allocations: 1.658 MB / 1.449 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9318, allocations: 3.938 kB / 1.449 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.9346, allocations: 1.34 MB / 1.45 GB, free: 9.719 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005118/0.9351, allocations: 276.2 kB / 1.451 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.9352, allocations: 23.89 kB / 1.451 GB, free: 9.406 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/0.9358, allocations: 67.92 kB / 1.451 GB, free: 9.34 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.936, allocations: 68.84 kB / 1.451 GB, free: 9.27 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.9361, allocations: 39.97 kB / 1.451 GB, free: 9.23 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006224/0.9367, allocations: 471.1 kB / 1.451 GB, free: 8.773 MB / 1.154 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9367, allocations: 0 / 1.451 GB, free: 8.773 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008906/0.9376, allocations: 323.2 kB / 1.452 GB, free: 8.457 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.004819/0.9424, allocations: 2.397 MB / 1.454 GB, free: 6.227 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.9441, allocations: 0.7843 MB / 1.455 GB, free: 5.43 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9441, allocations: 0 / 1.455 GB, free: 5.43 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.945, allocations: 0.4887 MB / 1.455 GB, free: 4.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.9462, allocations: 310.2 kB / 1.455 GB, free: 4.648 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.957, allocations: 6.397 MB / 1.462 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.9577, allocations: 1.035 MB / 1.463 GB, free: 13.03 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008851/0.9586, allocations: 262.7 kB / 1.463 GB, free: 12.77 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/0.9592, allocations: 399.3 kB / 1.463 GB, free: 12.38 MB / 1.17 GB Notification: Performance of SimCode: time 1.403e-06/0.9592, allocations: 0 / 1.463 GB, free: 12.38 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/1.019, allocations: 22.04 MB / 1.485 GB, free: 6.59 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.71, allocations: 2.656 kB / 1.485 GB, free: 6.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.64396369177848]