Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00183/0.00183, 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.002293/0.002293, allocations: 215.3 kB / 22.24 MB, free: 4.852 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.22/3.22, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.00199/0.00199, allocations: 68.78 kB / 1.186 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007388/0.3297, allocations: 4.674 MB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1699/0.4996, allocations: 132.7 MB / 1.498 GB, free: 4.238 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000918/0.5005, allocations: 23.81 kB / 1.498 GB, free: 4.215 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006986/0.5012, allocations: 206.1 kB / 1.498 GB, free: 4.012 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.5032, allocations: 0.577 MB / 1.498 GB, free: 3.434 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.5054, allocations: 0.8693 MB / 1.499 GB, free: 2.57 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.5071, allocations: 1.447 MB / 1.501 GB, free: 1.117 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007573/0.5079, allocations: 402.3 kB / 1.501 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.5087, allocations: 0.5178 MB / 1.501 GB, free: 184 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.5094, allocations: 484.1 kB / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.5096, allocations: 124 kB / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5107, allocations: 495.5 kB / 1.503 GB, free: 15.1 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.511, allocations: 307 kB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.5115, allocations: 481.7 kB / 1.503 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.5139, allocations: 1.728 MB / 1.505 GB, free: 12.59 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5139, allocations: 0 / 1.505 GB, free: 12.59 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5139, allocations: 4 kB / 1.505 GB, free: 12.59 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.5139, allocations: 0 / 1.505 GB, free: 12.59 MB / 1.201 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.00286/0.5168, allocations: 1.451 MB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5168, allocations: 12.03 kB / 1.506 GB, free: 11.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.517, allocations: 139.6 kB / 1.507 GB, free: 10.95 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5184, allocations: 239.9 kB / 1.507 GB, free: 10.71 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.5198, allocations: 0.7336 MB / 1.507 GB, free: 9.949 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.5199, allocations: 62 kB / 1.508 GB, free: 9.887 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.52, allocations: 80 kB / 1.508 GB, free: 9.809 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.5218, allocations: 1.193 MB / 1.509 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.5218, allocations: 0 / 1.509 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.148e-05/0.5219, allocations: 36 kB / 1.509 GB, free: 8.48 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.5219, allocations: 24 kB / 1.509 GB, free: 8.457 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.5237, allocations: 1.073 MB / 1.51 GB, free: 7.383 MB / 1.201 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.004283/0.528, allocations: 2.267 MB / 1.512 GB, free: 5.051 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.5296, allocations: 0.7621 MB / 1.513 GB, free: 4.285 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.5301, allocations: 289.2 kB / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.5302, allocations: 20.64 kB / 1.513 GB, free: 3.984 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000983/0.5312, allocations: 0.5975 MB / 1.514 GB, free: 3.344 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.416e-06/0.5312, allocations: 0 / 1.514 GB, free: 3.344 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003347/0.5345, allocations: 1.142 MB / 1.515 GB, free: 2.191 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.5347, allocations: 188.6 kB / 1.515 GB, free: 1.965 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/0.5356, allocations: 0.6685 MB / 1.516 GB, free: 1.285 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.5358, allocations: 41.7 kB / 1.516 GB, free: 1.238 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.5362, allocations: 425 kB / 1.516 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.5364, allocations: 277.6 kB / 1.516 GB, free: 0.543 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.5367, allocations: 150.5 kB / 1.517 GB, free: 400 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.5369, allocations: 394.8 kB / 1.517 GB, free: 15.99 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.5374, allocations: 249.8 kB / 1.517 GB, free: 15.75 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.5381, allocations: 495 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.5393, allocations: 0.5877 MB / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.5393, allocations: 0 / 1.518 GB, free: 14.62 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002128/0.5414, allocations: 0.8218 MB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5414, allocations: 12.09 kB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.5414, allocations: 0 / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.542, allocations: 84.7 kB / 1.519 GB, free: 13.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.5427, allocations: 163.8 kB / 1.519 GB, free: 13.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.545, allocations: 1.51 MB / 1.521 GB, free: 11.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/0.5457, allocations: 99.42 kB / 1.521 GB, free: 11.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/0.5458, allocations: 27.98 kB / 1.521 GB, free: 11.77 MB / 1.217 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.0004907/0.5463, allocations: 269.9 kB / 1.521 GB, free: 11.5 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.5465, allocations: 95.38 kB / 1.521 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.5491, allocations: 1.074 MB / 1.522 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-05/0.5491, allocations: 8 kB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5491, allocations: 4 kB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5491, allocations: 3.984 kB / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5503, allocations: 0.7701 MB / 1.523 GB, free: 9.492 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5503, allocations: 3.938 kB / 1.523 GB, free: 9.488 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.551, allocations: 155.8 kB / 1.523 GB, free: 9.336 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.5514, allocations: 76.72 kB / 1.523 GB, free: 9.258 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.5515, allocations: 23.98 kB / 1.523 GB, free: 9.234 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.5535, allocations: 1.543 MB / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5535, allocations: 0 / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002878/0.5564, allocations: 1.344 MB / 1.526 GB, free: 6.207 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/0.5569, allocations: 211 kB / 1.526 GB, free: 6 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.5571, allocations: 23.94 kB / 1.526 GB, free: 5.977 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.5577, allocations: 67.98 kB / 1.526 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.5579, allocations: 68.86 kB / 1.526 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.5579, allocations: 39.97 kB / 1.526 GB, free: 5.801 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006922/0.5586, allocations: 483 kB / 1.527 GB, free: 5.332 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5586, allocations: 0 / 1.527 GB, free: 5.332 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009022/0.5595, allocations: 335.1 kB / 1.527 GB, free: 5.004 MB / 1.217 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.005065/0.5646, allocations: 2.417 MB / 1.53 GB, free: 2.758 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.5664, allocations: 0.7843 MB / 1.53 GB, free: 1.961 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5664, allocations: 0 / 1.53 GB, free: 1.961 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.5674, allocations: 0.4964 MB / 1.531 GB, free: 1.457 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.5688, allocations: 321.4 kB / 1.531 GB, free: 1.168 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.5801, allocations: 6.437 MB / 1.537 GB, free: 10.57 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.5806, allocations: 455.1 kB / 1.538 GB, free: 10.1 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009768/0.5815, allocations: 274.9 kB / 1.538 GB, free: 9.824 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006204/0.5822, allocations: 403.2 kB / 1.539 GB, free: 9.43 MB / 1.232 GB Notification: Performance of SimCode: time 1.192e-06/0.5822, allocations: 0 / 1.539 GB, free: 9.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.6512, allocations: 23.89 MB / 1.562 GB, free: 1.828 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.57, allocations: 16.62 kB / 1.562 GB, free: 1.816 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.38448380306363]