Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 108.7 kB / 16.46 MB, free: 6.508 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.001433/0.001433, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.018/3.018, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_12_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.001923/0.001923, allocations: 64.19 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2876, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007726/0.2953, allocations: 5.302 MB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.4666, allocations: 154.1 MB / 1.476 GB, free: 3.367 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008249/0.4674, allocations: 23.81 kB / 1.476 GB, free: 3.344 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007033/0.4681, allocations: 202.1 kB / 1.477 GB, free: 3.145 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.4699, allocations: 0.5859 MB / 1.477 GB, free: 2.559 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.4719, allocations: 0.8662 MB / 1.478 GB, free: 1.699 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.4734, allocations: 1.475 MB / 1.479 GB, free: 224 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007085/0.4741, allocations: 447.1 kB / 1.48 GB, free: 15.76 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.4747, allocations: 0.5295 MB / 1.48 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.4754, allocations: 0.5367 MB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.4755, allocations: 127.9 kB / 1.481 GB, free: 14.56 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000896/0.4764, allocations: 0.5074 MB / 1.482 GB, free: 14.05 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.4767, allocations: 315 kB / 1.482 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.4773, allocations: 0.5985 MB / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.4793, allocations: 1.739 MB / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4793, allocations: 0 / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4793, allocations: 0 / 1.484 GB, free: 11.4 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.4793, allocations: 0 / 1.484 GB, free: 11.4 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.002603/0.4819, allocations: 1.561 MB / 1.486 GB, free: 9.789 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4819, allocations: 11.98 kB / 1.486 GB, free: 9.777 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.4821, allocations: 143.7 kB / 1.486 GB, free: 9.629 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.4836, allocations: 240 kB / 1.486 GB, free: 9.395 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4848, allocations: 0.8057 MB / 1.487 GB, free: 8.547 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.4848, allocations: 62 kB / 1.487 GB, free: 8.484 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.485, allocations: 95.92 kB / 1.487 GB, free: 8.391 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.4866, allocations: 0.9574 MB / 1.488 GB, free: 7.395 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4866, allocations: 0 / 1.488 GB, free: 7.395 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.4867, allocations: 36 kB / 1.488 GB, free: 7.359 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.4867, allocations: 20 kB / 1.488 GB, free: 7.34 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.4887, allocations: 1.136 MB / 1.489 GB, free: 6.199 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.004297/0.493, allocations: 2.878 MB / 1.492 GB, free: 3.184 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4946, allocations: 0.7966 MB / 1.493 GB, free: 2.375 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.4952, allocations: 298.7 kB / 1.493 GB, free: 2.078 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.251e-05/0.4952, allocations: 26.75 kB / 1.493 GB, free: 2.055 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008924/0.4961, allocations: 0.5081 MB / 1.493 GB, free: 1.527 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.034e-06/0.4961, allocations: 0 / 1.493 GB, free: 1.527 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.00338/0.4995, allocations: 1.255 MB / 1.495 GB, free: 256 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.4996, allocations: 188.9 kB / 1.495 GB, free: 24 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009/0.5005, allocations: 0.6686 MB / 1.496 GB, free: 15.35 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.5006, allocations: 45.7 kB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.5009, allocations: 429 kB / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.5012, allocations: 289.5 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.5014, allocations: 154.6 kB / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.5016, allocations: 398.7 kB / 1.497 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.5021, allocations: 257.8 kB / 1.497 GB, free: 13.78 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.5028, allocations: 374.5 kB / 1.497 GB, free: 13.39 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5039, allocations: 0.6047 MB / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5039, allocations: 0 / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001958/0.5059, allocations: 0.8452 MB / 1.499 GB, free: 11.91 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5059, allocations: 8.094 kB / 1.499 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5059, allocations: 4.062 kB / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.5065, allocations: 88.77 kB / 1.499 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.5072, allocations: 155.8 kB / 1.499 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.5094, allocations: 1.634 MB / 1.501 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.5101, allocations: 91.47 kB / 1.501 GB, free: 9.789 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.5102, allocations: 27.98 kB / 1.501 GB, free: 9.762 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.000483/0.5107, allocations: 273.5 kB / 1.501 GB, free: 9.484 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5109, allocations: 99.39 kB / 1.501 GB, free: 9.387 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.5133, allocations: 1.094 MB / 1.502 GB, free: 8.285 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.5133, allocations: 12 kB / 1.502 GB, free: 8.273 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5133, allocations: 4 kB / 1.502 GB, free: 8.27 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.5134, allocations: 3.984 kB / 1.502 GB, free: 8.266 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5145, allocations: 0.9388 MB / 1.503 GB, free: 7.273 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5145, allocations: 7.922 kB / 1.503 GB, free: 7.266 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.5152, allocations: 159.8 kB / 1.503 GB, free: 7.109 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.5156, allocations: 72.78 kB / 1.503 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.5157, allocations: 23.98 kB / 1.503 GB, free: 7.012 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.5176, allocations: 1.658 MB / 1.505 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5176, allocations: 0 / 1.505 GB, free: 5.203 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.5204, allocations: 1.368 MB / 1.506 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.5208, allocations: 296 kB / 1.507 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.5209, allocations: 16 kB / 1.507 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006404/0.5216, allocations: 67.98 kB / 1.507 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5217, allocations: 80.97 kB / 1.507 GB, free: 3.348 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.5218, allocations: 31.98 kB / 1.507 GB, free: 3.316 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006469/0.5224, allocations: 491 kB / 1.507 GB, free: 2.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5224, allocations: 0 / 1.507 GB, free: 2.84 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008353/0.5233, allocations: 335.2 kB / 1.508 GB, free: 2.512 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.004793/0.528, allocations: 2.438 MB / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.5297, allocations: 0.7924 MB / 1.511 GB, free: 15.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5297, allocations: 0 / 1.511 GB, free: 15.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009644/0.5307, allocations: 0.5041 MB / 1.511 GB, free: 14.89 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.5319, allocations: 307.4 kB / 1.512 GB, free: 14.62 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5425, allocations: 6.614 MB / 1.518 GB, free: 7.859 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.5432, allocations: 1.047 MB / 1.519 GB, free: 6.785 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007638/0.544, allocations: 267.1 kB / 1.519 GB, free: 6.52 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.5445, allocations: 411.3 kB / 1.52 GB, free: 6.117 MB / 1.217 GB Notification: Performance of SimCode: time 4.91e-07/0.5445, allocations: 4 kB / 1.52 GB, free: 6.113 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05664/0.6012, allocations: 22.66 MB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.64, allocations: 11.94 kB / 1.542 GB, free: 15.69 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.119622913887724]