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.001921/0.001921, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002451/0.002451, allocations: 161 kB / 23.01 MB, free: 4.602 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.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 2.854/2.854, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [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.002248/0.002248, allocations: 59.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8669, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005697/0.8726, allocations: 4.775 MB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1848/1.057, allocations: 132.7 MB / 1.321 GB, free: 12.35 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/1.059, allocations: 23.81 kB / 1.321 GB, free: 12.33 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007398/1.059, allocations: 206.1 kB / 1.321 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/1.062, allocations: 0.5895 MB / 1.322 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/1.064, allocations: 0.8701 MB / 1.323 GB, free: 10.67 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001779/1.066, allocations: 1.478 MB / 1.324 GB, free: 9.188 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/1.067, allocations: 414.8 kB / 1.324 GB, free: 8.754 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007517/1.067, allocations: 0.5255 MB / 1.325 GB, free: 8.227 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006688/1.068, allocations: 489.6 kB / 1.325 GB, free: 7.746 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/1.068, allocations: 124 kB / 1.325 GB, free: 7.625 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/1.069, allocations: 499.6 kB / 1.326 GB, free: 7.137 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/1.07, allocations: 315 kB / 1.326 GB, free: 6.828 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/1.07, allocations: 493.7 kB / 1.327 GB, free: 6.344 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/1.072, allocations: 1.751 MB / 1.328 GB, free: 4.59 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.072, allocations: 4 kB / 1.328 GB, free: 4.586 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.734e-06/1.072, allocations: 4 kB / 1.328 GB, free: 4.582 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.072, allocations: 0 / 1.328 GB, free: 4.582 MB / 1.17 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.002717/1.075, allocations: 1.474 MB / 1.33 GB, free: 3.074 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.075, allocations: 8.031 kB / 1.33 GB, free: 3.066 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/1.077, allocations: 240 kB / 1.33 GB, free: 2.832 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/1.078, allocations: 0.7337 MB / 1.331 GB, free: 2.066 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/1.078, allocations: 73.92 kB / 1.331 GB, free: 1.992 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.078, allocations: 84 kB / 1.331 GB, free: 1.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.08, allocations: 1.205 MB / 1.332 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.08, allocations: 0 / 1.332 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/1.08, allocations: 39.98 kB / 1.332 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/1.08, allocations: 20 kB / 1.332 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/1.082, allocations: 1.089 MB / 1.333 GB, free: 15.46 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.00396/1.086, allocations: 2.182 MB / 1.335 GB, free: 13.22 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/1.088, allocations: 0.8013 MB / 1.336 GB, free: 12.41 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005758/1.088, allocations: 305.5 kB / 1.336 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.549e-05/1.088, allocations: 20.64 kB / 1.337 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009654/1.089, allocations: 0.6066 MB / 1.337 GB, free: 11.45 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.425e-06/1.089, allocations: 0 / 1.337 GB, free: 11.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.00341/1.093, allocations: 1.172 MB / 1.338 GB, free: 10.27 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/1.093, allocations: 204.8 kB / 1.338 GB, free: 10.03 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/1.094, allocations: 0.6176 MB / 1.339 GB, free: 9.398 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/1.094, allocations: 45.69 kB / 1.339 GB, free: 9.348 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/1.094, allocations: 429 kB / 1.339 GB, free: 8.922 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/1.094, allocations: 293.6 kB / 1.34 GB, free: 8.633 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/1.095, allocations: 174.5 kB / 1.34 GB, free: 8.457 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002008/1.095, allocations: 382.8 kB / 1.34 GB, free: 8.074 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/1.095, allocations: 277.9 kB / 1.341 GB, free: 7.805 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007568/1.096, allocations: 0.4918 MB / 1.341 GB, free: 7.266 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.097, allocations: 0.6359 MB / 1.342 GB, free: 6.621 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.097, allocations: 0 / 1.342 GB, free: 6.621 MB / 1.186 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00213/1.099, allocations: 0.8882 MB / 1.343 GB, free: 5.719 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.1, allocations: 8 kB / 1.343 GB, free: 5.711 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.1, allocations: 0 / 1.343 GB, free: 5.711 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/1.1, allocations: 80.88 kB / 1.343 GB, free: 5.629 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/1.101, allocations: 171.8 kB / 1.343 GB, free: 5.461 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/1.103, allocations: 1.504 MB / 1.344 GB, free: 3.852 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/1.104, allocations: 100.2 kB / 1.344 GB, free: 3.754 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/1.104, allocations: 31.98 kB / 1.344 GB, free: 3.723 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * 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.0005032/1.105, allocations: 275.6 kB / 1.345 GB, free: 3.445 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/1.105, allocations: 87.44 kB / 1.345 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/1.107, allocations: 1.097 MB / 1.346 GB, free: 2.246 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.107, allocations: 15.94 kB / 1.346 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/1.107, allocations: 0 / 1.346 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.107, allocations: 3.984 kB / 1.346 GB, free: 2.227 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009946/1.108, allocations: 0.6652 MB / 1.346 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.108, allocations: 0 / 1.346 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006781/1.109, allocations: 163.7 kB / 1.347 GB, free: 1.371 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/1.109, allocations: 72.78 kB / 1.347 GB, free: 1.297 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/1.11, allocations: 27.97 kB / 1.347 GB, free: 1.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/1.112, allocations: 1.517 MB / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.112, allocations: 4.062 kB / 1.348 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/1.115, allocations: 1.371 MB / 1.35 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/1.115, allocations: 199.1 kB / 1.35 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.115, allocations: 24 kB / 1.35 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/1.116, allocations: 63.98 kB / 1.35 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.116, allocations: 72.86 kB / 1.35 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.116, allocations: 43.91 kB / 1.35 GB, free: 13.85 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006845/1.117, allocations: 451 kB / 1.35 GB, free: 13.41 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 4.062 kB / 1.35 GB, free: 13.41 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001014/1.118, allocations: 355 kB / 1.351 GB, free: 13.06 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.002241/1.12, allocations: 0.6285 MB / 1.351 GB, free: 12.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002003/1.122, allocations: 0.8274 MB / 1.352 GB, free: 11.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.122, allocations: 0 / 1.352 GB, free: 11.8 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.123, allocations: 0.5002 MB / 1.353 GB, free: 11.29 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.124, allocations: 300.4 kB / 1.353 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/1.128, allocations: 1.889 MB / 1.355 GB, free: 9.102 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.129, allocations: 462.1 kB / 1.355 GB, free: 8.621 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008514/1.13, allocations: 254.7 kB / 1.355 GB, free: 8.367 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.13, allocations: 112.4 kB / 1.356 GB, free: 8.258 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/1.13, allocations: 0 / 1.356 GB, free: 8.258 MB / 1.201 GB Notification: Performance of Templates: time 0.0291/1.159, allocations: 15.59 MB / 1.371 GB, free: 8.918 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 800] 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: 9.784574283054098]