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.001629/0.001629, 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.001924/0.001924, allocations: 157.8 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.992 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.899/2.899, allocations: 394.2 MB / 0.6386 GB, free: 11.96 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [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.0022/0.0022, allocations: 63.91 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.823/0.8252, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005618/0.8308, allocations: 4.673 MB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1771/1.008, allocations: 132.7 MB / 1.321 GB, free: 12.51 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/1.009, allocations: 19.88 kB / 1.321 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008207/1.01, allocations: 206.1 kB / 1.321 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/1.012, allocations: 0.5706 MB / 1.322 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/1.015, allocations: 0.8662 MB / 1.322 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002063/1.017, allocations: 1.455 MB / 1.324 GB, free: 9.395 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008904/1.018, allocations: 406.2 kB / 1.324 GB, free: 8.973 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00095/1.018, allocations: 0.5139 MB / 1.325 GB, free: 8.457 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008706/1.019, allocations: 481.7 kB / 1.325 GB, free: 7.984 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000271/1.02, allocations: 120 kB / 1.325 GB, free: 7.867 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/1.021, allocations: 491.6 kB / 1.326 GB, free: 7.387 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003733/1.021, allocations: 315 kB / 1.326 GB, free: 7.078 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006183/1.022, allocations: 481.7 kB / 1.326 GB, free: 6.605 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/1.024, allocations: 1.731 MB / 1.328 GB, free: 4.871 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.024, allocations: 0 / 1.328 GB, free: 4.871 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.643e-06/1.024, allocations: 0 / 1.328 GB, free: 4.871 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.878e-05/1.024, allocations: 0 / 1.328 GB, free: 4.871 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002782/1.027, allocations: 1.451 MB / 1.33 GB, free: 3.387 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/1.027, allocations: 8.031 kB / 1.33 GB, free: 3.379 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/1.029, allocations: 236 kB / 1.33 GB, free: 3.148 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/1.03, allocations: 0.726 MB / 1.331 GB, free: 2.391 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/1.03, allocations: 66 kB / 1.331 GB, free: 2.324 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.03, allocations: 87.94 kB / 1.331 GB, free: 2.238 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/1.032, allocations: 1.185 MB / 1.332 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/1.032, allocations: 3.953 kB / 1.332 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/1.032, allocations: 43.98 kB / 1.332 GB, free: 0.9062 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/1.032, allocations: 20 kB / 1.332 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/1.034, allocations: 1.073 MB / 1.333 GB, free: 15.81 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.004224/1.039, allocations: 2.154 MB / 1.335 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.04, allocations: 0.7509 MB / 1.336 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/1.041, allocations: 286.7 kB / 1.336 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/1.041, allocations: 24.62 kB / 1.336 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/1.042, allocations: 0.5917 MB / 1.337 GB, free: 11.91 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/1.042, allocations: 0 / 1.337 GB, free: 11.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003453/1.045, allocations: 1.125 MB / 1.338 GB, free: 10.78 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.045, allocations: 192.6 kB / 1.338 GB, free: 10.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/1.046, allocations: 0.6213 MB / 1.339 GB, free: 9.914 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/1.046, allocations: 45.64 kB / 1.339 GB, free: 9.863 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/1.047, allocations: 421 kB / 1.339 GB, free: 9.445 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/1.047, allocations: 277.7 kB / 1.339 GB, free: 9.172 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/1.047, allocations: 174.6 kB / 1.339 GB, free: 8.996 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.047, allocations: 382.8 kB / 1.34 GB, free: 8.613 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/1.048, allocations: 265.9 kB / 1.34 GB, free: 8.355 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/1.049, allocations: 495.6 kB / 1.341 GB, free: 7.824 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.05, allocations: 0.619 MB / 1.341 GB, free: 7.199 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.05, allocations: 0 / 1.341 GB, free: 7.199 MB / 1.186 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002144/1.052, allocations: 0.8609 MB / 1.342 GB, free: 6.328 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.052, allocations: 11.94 kB / 1.342 GB, free: 6.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.052, allocations: 3.938 kB / 1.342 GB, free: 6.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/1.053, allocations: 84.86 kB / 1.342 GB, free: 6.227 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/1.053, allocations: 171.8 kB / 1.342 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/1.056, allocations: 1.485 MB / 1.344 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/1.057, allocations: 96.58 kB / 1.344 GB, free: 4.371 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/1.057, allocations: 43.86 kB / 1.344 GB, free: 4.328 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 (97): * Single equations (assignments): 96 * 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.0005391/1.058, allocations: 275.8 kB / 1.344 GB, free: 4.051 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/1.058, allocations: 87.42 kB / 1.344 GB, free: 3.965 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/1.06, allocations: 1.066 MB / 1.345 GB, free: 2.887 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.06, allocations: 11.94 kB / 1.345 GB, free: 2.875 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/1.06, allocations: 4 kB / 1.345 GB, free: 2.871 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.06, allocations: 3.984 kB / 1.345 GB, free: 2.867 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/1.061, allocations: 0.6497 MB / 1.346 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.061, allocations: 0 / 1.346 GB, free: 2.188 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/1.062, allocations: 147.8 kB / 1.346 GB, free: 2.043 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/1.062, allocations: 80.78 kB / 1.346 GB, free: 1.961 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/1.062, allocations: 23.98 kB / 1.346 GB, free: 1.938 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/1.065, allocations: 1.533 MB / 1.348 GB, free: 304 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.065, allocations: 0 / 1.348 GB, free: 304 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.067, allocations: 1.34 MB / 1.349 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/1.068, allocations: 199.2 kB / 1.349 GB, free: 14.74 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.068, allocations: 24 kB / 1.349 GB, free: 14.72 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006481/1.069, allocations: 63.92 kB / 1.349 GB, free: 14.66 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/1.069, allocations: 72.86 kB / 1.349 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/1.069, allocations: 35.98 kB / 1.349 GB, free: 14.55 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006099/1.069, allocations: 451 kB / 1.35 GB, free: 14.11 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.35 GB, free: 14.11 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00091/1.07, allocations: 343 kB / 1.35 GB, free: 13.78 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 (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.002125/1.072, allocations: 0.637 MB / 1.351 GB, free: 13.34 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.074, allocations: 0.8118 MB / 1.351 GB, free: 12.52 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.074, allocations: 0 / 1.351 GB, free: 12.52 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.075, allocations: 0.4923 MB / 1.352 GB, free: 12.01 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/1.076, allocations: 296.6 kB / 1.352 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/1.08, allocations: 1.826 MB / 1.354 GB, free: 9.895 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/1.081, allocations: 453.2 kB / 1.354 GB, free: 9.422 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008032/1.082, allocations: 258.5 kB / 1.355 GB, free: 9.164 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/1.082, allocations: 104.5 kB / 1.355 GB, free: 9.062 MB / 1.201 GB Notification: Performance of SimCode: time 9.42e-07/1.082, allocations: 0 / 1.355 GB, free: 9.062 MB / 1.201 GB Notification: Performance of Templates: time 0.02917/1.111, allocations: 15.41 MB / 1.37 GB, free: 9.891 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 800] 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: 9.628974505001679]