Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001374/0.001374, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001493/0.001493, allocations: 155.9 kB / 23.01 MB, free: 4.605 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.826/2.826, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [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.002432/0.002432, allocations: 70.08 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9704/0.9728, allocations: 176.1 MB / 1.154 GB, free: 33.57 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2144/1.187, allocations: 146.3 MB / 1.297 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01542/1.203, allocations: 7.535 MB / 1.304 GB, free: 9.887 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/1.205, allocations: 45.91 kB / 1.304 GB, free: 9.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/1.207, allocations: 402.7 kB / 1.305 GB, free: 9.523 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00541/1.212, allocations: 1.38 MB / 1.306 GB, free: 8.473 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/1.217, allocations: 1.2 MB / 1.307 GB, free: 7.555 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004319/1.221, allocations: 2.399 MB / 1.309 GB, free: 6.086 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002075/1.223, allocations: 0.9721 MB / 1.31 GB, free: 5.367 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/1.225, allocations: 0.8874 MB / 1.311 GB, free: 4.844 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/1.228, allocations: 0.7417 MB / 1.312 GB, free: 4.363 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000406/1.228, allocations: 152.9 kB / 1.312 GB, free: 4.363 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/1.231, allocations: 1.031 MB / 1.313 GB, free: 3.883 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006924/1.232, allocations: 440 kB / 1.314 GB, free: 3.547 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/1.233, allocations: 0.6428 MB / 1.314 GB, free: 3.129 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005534/1.239, allocations: 2.452 MB / 1.317 GB, free: 1.438 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.239, allocations: 1.25 kB / 1.317 GB, free: 1.438 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.114e-06/1.239, allocations: 0 / 1.317 GB, free: 1.438 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.736e-05/1.239, allocations: 0 / 1.317 GB, free: 1.438 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004633/1.244, allocations: 1.874 MB / 1.318 GB, free: 36 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.244, allocations: 13.06 kB / 1.318 GB, free: 32 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/1.246, allocations: 378.6 kB / 1.319 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/1.249, allocations: 0.9575 MB / 1.32 GB, free: 15 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.249, allocations: 90.19 kB / 1.32 GB, free: 14.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/1.249, allocations: 104 kB / 1.32 GB, free: 14.8 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/1.252, allocations: 1.527 MB / 1.321 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/1.252, allocations: 0 / 1.321 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.252, allocations: 51.98 kB / 1.321 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/1.252, allocations: 42.06 kB / 1.321 GB, free: 13.03 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/1.254, allocations: 1.265 MB / 1.323 GB, free: 11.75 MB / 1.17 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.006805/1.261, allocations: 2.765 MB / 1.325 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/1.263, allocations: 0.9362 MB / 1.326 GB, free: 7.988 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/1.264, allocations: 364.3 kB / 1.327 GB, free: 7.629 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/1.264, allocations: 24.97 kB / 1.327 GB, free: 7.605 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/1.265, allocations: 0.799 MB / 1.327 GB, free: 6.734 MB / 1.17 GB Notification: Performance of pre-optimization done (n=102): time 3.086e-06/1.265, allocations: 0 / 1.327 GB, free: 6.734 MB / 1.17 GB Notification: Performance of matching and sorting (n=102): time 0.004285/1.27, allocations: 1.364 MB / 1.329 GB, free: 5.367 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/1.27, allocations: 192.9 kB / 1.329 GB, free: 5.137 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.271, allocations: 0.8062 MB / 1.33 GB, free: 4.316 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/1.271, allocations: 49.7 kB / 1.33 GB, free: 4.262 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/1.272, allocations: 0.548 MB / 1.33 GB, free: 3.707 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/1.272, allocations: 353 kB / 1.331 GB, free: 3.359 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.273, allocations: 206.5 kB / 1.331 GB, free: 3.148 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.273, allocations: 341.9 kB / 1.331 GB, free: 2.809 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007044/1.274, allocations: 341.8 kB / 1.332 GB, free: 2.477 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/1.275, allocations: 0.5905 MB / 1.332 GB, free: 1.82 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/1.276, allocations: 0.7971 MB / 1.333 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.276, allocations: 0 / 1.333 GB, free: 0.9922 MB / 1.17 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00279/1.279, allocations: 1.079 MB / 1.334 GB, free: 15.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.279, allocations: 4 kB / 1.334 GB, free: 15.9 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.279, allocations: 4 kB / 1.334 GB, free: 15.9 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/1.28, allocations: 88.98 kB / 1.334 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/1.281, allocations: 215.7 kB / 1.334 GB, free: 15.6 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/1.283, allocations: 1.508 MB / 1.336 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.285, allocations: 108.2 kB / 1.336 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/1.285, allocations: 43.98 kB / 1.336 GB, free: 13.84 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (124): * Single equations (assignments): 123 * 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.0008132/1.285, allocations: 323.5 kB / 1.336 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/1.286, allocations: 115.3 kB / 1.336 GB, free: 13.4 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/1.289, allocations: 1.248 MB / 1.338 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.289, allocations: 12 kB / 1.338 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.289, allocations: 4 kB / 1.338 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.289, allocations: 7.969 kB / 1.338 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/1.29, allocations: 0.8331 MB / 1.338 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/1.29, allocations: 0 / 1.338 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/1.291, allocations: 203.7 kB / 1.339 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/1.292, allocations: 76.72 kB / 1.339 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.981e-05/1.292, allocations: 31.98 kB / 1.339 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.294, allocations: 1.516 MB / 1.34 GB, free: 9.32 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.294, allocations: 3.938 kB / 1.34 GB, free: 9.316 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/1.298, allocations: 1.578 MB / 1.342 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008174/1.298, allocations: 242.9 kB / 1.342 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000335/1.299, allocations: 28 kB / 1.342 GB, free: 7.453 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.3, allocations: 79.86 kB / 1.342 GB, free: 7.375 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/1.3, allocations: 88.83 kB / 1.342 GB, free: 7.289 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-05/1.3, allocations: 35.98 kB / 1.342 GB, free: 7.254 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001056/1.301, allocations: 0.5654 MB / 1.343 GB, free: 6.691 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.301, allocations: 0 / 1.343 GB, free: 6.691 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001591/1.303, allocations: 438.9 kB / 1.343 GB, free: 6.262 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.002315/1.305, allocations: 0.6589 MB / 1.344 GB, free: 5.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.307, allocations: 0.9604 MB / 1.345 GB, free: 4.824 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.307, allocations: 0 / 1.345 GB, free: 4.824 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/1.309, allocations: 0.5665 MB / 1.345 GB, free: 4.25 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/1.311, allocations: 489.2 kB / 1.346 GB, free: 3.801 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/1.316, allocations: 2.487 MB / 1.348 GB, free: 1.281 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006751/1.316, allocations: 0.5752 MB / 1.349 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001193/1.318, allocations: 320.9 kB / 1.349 GB, free: 368 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/1.318, allocations: 128.4 kB / 1.349 GB, free: 240 kB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/1.318, allocations: 0 / 1.349 GB, free: 240 kB / 1.186 GB Notification: Performance of Templates: time 0.0411/1.359, allocations: 21.41 MB / 1.37 GB, free: 11.26 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 10.18028734694235]