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.001845/0.001845, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002412/0.002412, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 7.797 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.653/2.653, allocations: 476 MB / 0.7699 GB, free: 4.758 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.002088/0.002088, allocations: 68.94 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.299, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007923/0.3069, allocations: 4.776 MB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.4768, allocations: 132.7 MB / 1.417 GB, free: 2.473 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.4778, allocations: 27.75 kB / 1.417 GB, free: 2.445 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.4787, allocations: 218 kB / 1.417 GB, free: 2.23 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.4812, allocations: 0.5868 MB / 1.418 GB, free: 1.645 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.4836, allocations: 0.8611 MB / 1.418 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002212/0.4858, allocations: 1.482 MB / 1.42 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000949/0.4867, allocations: 418.8 kB / 1.42 GB, free: 14.87 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/0.4877, allocations: 0.5217 MB / 1.421 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008226/0.4885, allocations: 493.5 kB / 1.421 GB, free: 13.86 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.4888, allocations: 124 kB / 1.421 GB, free: 13.74 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4899, allocations: 499.6 kB / 1.422 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.4902, allocations: 315 kB / 1.422 GB, free: 12.94 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.4908, allocations: 493.6 kB / 1.423 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.4935, allocations: 1.753 MB / 1.424 GB, free: 10.7 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4935, allocations: 4 kB / 1.424 GB, free: 10.7 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4935, allocations: 0 / 1.424 GB, free: 10.7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.5e-05/0.4935, allocations: 4 kB / 1.424 GB, free: 10.69 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003373/0.4969, allocations: 1.478 MB / 1.426 GB, free: 9.18 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4969, allocations: 15.97 kB / 1.426 GB, free: 9.164 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001958/0.4971, allocations: 135.7 kB / 1.426 GB, free: 9.023 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.4987, allocations: 243.9 kB / 1.426 GB, free: 8.785 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5003, allocations: 0.7374 MB / 1.427 GB, free: 8.02 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.845e-05/0.5004, allocations: 66 kB / 1.427 GB, free: 7.953 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.5005, allocations: 88 kB / 1.427 GB, free: 7.867 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.5023, allocations: 1.205 MB / 1.428 GB, free: 6.562 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.5023, allocations: 7.922 kB / 1.428 GB, free: 6.555 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.5024, allocations: 36 kB / 1.428 GB, free: 6.52 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.5024, allocations: 24 kB / 1.428 GB, free: 6.496 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.5044, allocations: 1.093 MB / 1.429 GB, free: 5.402 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.004607/0.509, allocations: 2.306 MB / 1.432 GB, free: 3.031 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.5106, allocations: 0.7985 MB / 1.432 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.5112, allocations: 294.7 kB / 1.433 GB, free: 1.93 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.012e-05/0.5113, allocations: 26.7 kB / 1.433 GB, free: 1.906 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.5123, allocations: 0.6007 MB / 1.433 GB, free: 1.262 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.765e-06/0.5123, allocations: 0 / 1.433 GB, free: 1.262 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003386/0.5156, allocations: 1.18 MB / 1.434 GB, free: 76 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.5158, allocations: 188.9 kB / 1.435 GB, free: 15.85 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.5168, allocations: 0.6802 MB / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.413e-05/0.5169, allocations: 45.7 kB / 1.435 GB, free: 15.11 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.5173, allocations: 429.1 kB / 1.436 GB, free: 14.68 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.5175, allocations: 285.7 kB / 1.436 GB, free: 14.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.5178, allocations: 154.6 kB / 1.436 GB, free: 14.24 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.518, allocations: 390.8 kB / 1.437 GB, free: 13.85 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.5185, allocations: 253.9 kB / 1.437 GB, free: 13.6 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.5193, allocations: 0.4912 MB / 1.437 GB, free: 13.05 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.5205, allocations: 0.6164 MB / 1.438 GB, free: 12.43 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5205, allocations: 0 / 1.438 GB, free: 12.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002043/0.5225, allocations: 0.8413 MB / 1.439 GB, free: 11.58 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.5226, allocations: 5.875 kB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5226, allocations: 0 / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5232, allocations: 80.86 kB / 1.439 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.5239, allocations: 171.7 kB / 1.439 GB, free: 11.32 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.5262, allocations: 1.526 MB / 1.44 GB, free: 9.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.527, allocations: 91.53 kB / 1.441 GB, free: 9.586 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.5271, allocations: 31.98 kB / 1.441 GB, free: 9.555 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 (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.0005135/0.5276, allocations: 269.6 kB / 1.441 GB, free: 9.281 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.5279, allocations: 95.38 kB / 1.441 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.5304, allocations: 1.098 MB / 1.442 GB, free: 8.074 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5304, allocations: 8 kB / 1.442 GB, free: 8.066 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5304, allocations: 0 / 1.442 GB, free: 8.066 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5304, allocations: 3.984 kB / 1.442 GB, free: 8.062 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5317, allocations: 0.7859 MB / 1.443 GB, free: 7.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.5317, allocations: 7.875 kB / 1.443 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.5324, allocations: 159.8 kB / 1.443 GB, free: 7.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.5329, allocations: 68.78 kB / 1.443 GB, free: 6.996 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.638e-05/0.533, allocations: 27.97 kB / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.5351, allocations: 1.547 MB / 1.445 GB, free: 5.305 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5351, allocations: 4.062 kB / 1.445 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.5381, allocations: 1.371 MB / 1.446 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.5387, allocations: 211 kB / 1.446 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.5389, allocations: 23.98 kB / 1.446 GB, free: 3.676 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.5395, allocations: 59.94 kB / 1.446 GB, free: 3.617 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.5398, allocations: 80.84 kB / 1.446 GB, free: 3.539 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/0.5398, allocations: 36.05 kB / 1.446 GB, free: 3.504 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007616/0.5406, allocations: 495 kB / 1.447 GB, free: 3.023 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5406, allocations: 4.062 kB / 1.447 GB, free: 3.02 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009648/0.5416, allocations: 335.1 kB / 1.447 GB, free: 2.691 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 (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.005216/0.5468, allocations: 2.467 MB / 1.449 GB, free: 416 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.5487, allocations: 0.7885 MB / 1.45 GB, free: 15.61 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.5487, allocations: 4 kB / 1.45 GB, free: 15.6 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.5497, allocations: 0.5001 MB / 1.451 GB, free: 15.09 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.551, allocations: 316.8 kB / 1.451 GB, free: 14.8 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.5634, allocations: 6.614 MB / 1.457 GB, free: 8.039 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.5639, allocations: 457.6 kB / 1.458 GB, free: 7.562 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009317/0.5648, allocations: 271 kB / 1.458 GB, free: 7.293 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/0.5655, allocations: 415.3 kB / 1.459 GB, free: 6.887 MB / 1.154 GB Notification: Performance of SimCode: time 1.252e-06/0.5655, allocations: 0 / 1.459 GB, free: 6.887 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.6376, allocations: 24.24 MB / 1.482 GB, free: 14.97 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.69, allocations: 7.609 kB / 1.482 GB, free: 14.97 MB / 1.186 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 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.mat","/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.151144825387746]