Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001769/0.001769, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.002935/0.002935, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.085/3.085, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002015/0.002015, allocations: 61.44 kB / 1.17 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007117/0.3443, allocations: 4.759 MB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.509, allocations: 132.7 MB / 1.479 GB, free: 5.988 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007982/0.5098, allocations: 23.81 kB / 1.48 GB, free: 5.965 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006229/0.5104, allocations: 202.1 kB / 1.48 GB, free: 5.766 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.5123, allocations: 0.5912 MB / 1.48 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.5143, allocations: 0.8685 MB / 1.481 GB, free: 4.312 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.5161, allocations: 1.475 MB / 1.483 GB, free: 2.832 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007651/0.5169, allocations: 430.8 kB / 1.483 GB, free: 2.391 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007192/0.5176, allocations: 0.5333 MB / 1.484 GB, free: 1.855 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006612/0.5182, allocations: 0.5329 MB / 1.484 GB, free: 1.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.5184, allocations: 120 kB / 1.484 GB, free: 1.203 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009949/0.5194, allocations: 0.4996 MB / 1.485 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003127/0.5197, allocations: 315 kB / 1.485 GB, free: 404 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.5202, allocations: 497.7 kB / 1.485 GB, free: 15.9 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.5225, allocations: 1.759 MB / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5225, allocations: 0 / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5225, allocations: 0 / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.5225, allocations: 3.938 kB / 1.487 GB, free: 14.14 MB / 1.186 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.002842/0.5254, allocations: 1.47 MB / 1.489 GB, free: 12.62 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5254, allocations: 16.02 kB / 1.489 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.436e-05/0.5254, allocations: 22.19 kB / 1.489 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.5256, allocations: 143.7 kB / 1.489 GB, free: 12.44 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5271, allocations: 248 kB / 1.489 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.5286, allocations: 0.7333 MB / 1.49 GB, free: 11.44 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/0.5287, allocations: 62 kB / 1.49 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.5288, allocations: 84 kB / 1.49 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.5307, allocations: 1.216 MB / 1.491 GB, free: 9.977 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.5307, allocations: 3.938 kB / 1.491 GB, free: 9.973 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/0.5308, allocations: 40 kB / 1.491 GB, free: 9.934 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.5308, allocations: 20 kB / 1.491 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.5327, allocations: 1.136 MB / 1.492 GB, free: 8.777 MB / 1.186 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.004229/0.537, allocations: 2.294 MB / 1.494 GB, free: 6.418 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.5386, allocations: 0.8024 MB / 1.495 GB, free: 5.605 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/0.5391, allocations: 300.7 kB / 1.495 GB, free: 5.312 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.182e-05/0.5392, allocations: 24.64 kB / 1.496 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.5402, allocations: 0.6046 MB / 1.496 GB, free: 4.645 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 3.126e-06/0.5402, allocations: 0 / 1.496 GB, free: 4.645 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003647/0.5439, allocations: 1.184 MB / 1.497 GB, free: 3.449 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.544, allocations: 196.9 kB / 1.497 GB, free: 3.215 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.5451, allocations: 0.6725 MB / 1.498 GB, free: 2.531 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5452, allocations: 41.7 kB / 1.498 GB, free: 2.484 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.5456, allocations: 433 kB / 1.499 GB, free: 2.055 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.5459, allocations: 289.6 kB / 1.499 GB, free: 1.77 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.5462, allocations: 146.6 kB / 1.499 GB, free: 1.621 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.5464, allocations: 390.7 kB / 1.499 GB, free: 1.23 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/0.5469, allocations: 261.9 kB / 1.5 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.5476, allocations: 0.4912 MB / 1.5 GB, free: 436 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.5488, allocations: 0.6008 MB / 1.501 GB, free: 15.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5488, allocations: 0 / 1.501 GB, free: 15.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002087/0.5509, allocations: 0.8452 MB / 1.501 GB, free: 14.96 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5509, allocations: 11.94 kB / 1.501 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5509, allocations: 0 / 1.501 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.5515, allocations: 84.86 kB / 1.502 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.5522, allocations: 159.7 kB / 1.502 GB, free: 14.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.5545, allocations: 1.526 MB / 1.503 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.5553, allocations: 105.5 kB / 1.503 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.5554, allocations: 27.98 kB / 1.503 GB, free: 12.93 MB / 1.201 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.0005146/0.5559, allocations: 265.7 kB / 1.504 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.5561, allocations: 95.38 kB / 1.504 GB, free: 12.57 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/0.5587, allocations: 1.09 MB / 1.505 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5587, allocations: 15.98 kB / 1.505 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5587, allocations: 0 / 1.505 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5588, allocations: 3.984 kB / 1.505 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.56, allocations: 0.7858 MB / 1.506 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.56, allocations: 0 / 1.506 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.5607, allocations: 159.7 kB / 1.506 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/0.5612, allocations: 68.78 kB / 1.506 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.5612, allocations: 35.97 kB / 1.506 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.5633, allocations: 1.543 MB / 1.507 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.5633, allocations: 7.969 kB / 1.507 GB, free: 8.684 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.5662, allocations: 1.368 MB / 1.509 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.5667, allocations: 211 kB / 1.509 GB, free: 7.086 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.5668, allocations: 23.94 kB / 1.509 GB, free: 7.062 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.5675, allocations: 63.92 kB / 1.509 GB, free: 7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.5676, allocations: 72.86 kB / 1.509 GB, free: 6.93 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.5677, allocations: 44.03 kB / 1.509 GB, free: 6.887 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006569/0.5684, allocations: 491 kB / 1.51 GB, free: 6.41 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5684, allocations: 0 / 1.51 GB, free: 6.41 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009576/0.5693, allocations: 347 kB / 1.51 GB, free: 6.07 MB / 1.201 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.005313/0.5746, allocations: 2.459 MB / 1.512 GB, free: 3.789 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.5764, allocations: 0.7924 MB / 1.513 GB, free: 2.988 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5764, allocations: 0 / 1.513 GB, free: 2.988 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009846/0.5774, allocations: 0.5041 MB / 1.514 GB, free: 2.469 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.5787, allocations: 308.8 kB / 1.514 GB, free: 2.191 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.59, allocations: 6.613 MB / 1.52 GB, free: 11.43 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.5905, allocations: 461.6 kB / 1.521 GB, free: 10.94 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008295/0.5913, allocations: 271 kB / 1.521 GB, free: 10.67 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/0.5919, allocations: 419.2 kB / 1.521 GB, free: 10.26 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/0.5919, allocations: 0 / 1.521 GB, free: 10.26 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05974/0.6516, allocations: 24.02 MB / 1.545 GB, free: 2.562 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/16.77, allocations: 7.984 kB / 1.545 GB, free: 2.555 MB / 1.232 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.517124901060015]