Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001644/0.001644, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001742/0.001742, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.505/1.505, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.676/2.676, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_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.002272/0.002272, allocations: 63.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3158, allocations: 169.9 MB / 1.117 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007606/0.3234, allocations: 4.767 MB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6821/1.006, allocations: 132.7 MB / 1.252 GB, free: 3.035 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009157/1.006, allocations: 23 kB / 1.252 GB, free: 3.023 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/1.007, allocations: 213.2 kB / 1.252 GB, free: 2.879 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/1.009, allocations: 0.5864 MB / 1.253 GB, free: 2.539 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/1.012, allocations: 0.8731 MB / 1.253 GB, free: 2.086 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001986/1.014, allocations: 1.473 MB / 1.255 GB, free: 1.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/1.015, allocations: 410.8 kB / 1.255 GB, free: 1.082 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007813/1.015, allocations: 0.5219 MB / 1.256 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007165/1.016, allocations: 0.4899 MB / 1.256 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/1.016, allocations: 122.7 kB / 1.256 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/1.017, allocations: 490 kB / 1.257 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/1.018, allocations: 314.5 kB / 1.257 GB, free: 296 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/1.018, allocations: 494.9 kB / 1.258 GB, free: 4 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/1.02, allocations: 1.753 MB / 1.259 GB, free: 15.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.02, allocations: 1.219 kB / 1.259 GB, free: 15.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.703e-06/1.02, allocations: 0 / 1.259 GB, free: 15.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.732e-05/1.02, allocations: 0 / 1.259 GB, free: 15.27 MB / 1.123 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.002883/1.023, allocations: 1.475 MB / 1.261 GB, free: 14.31 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/1.023, allocations: 9.438 kB / 1.261 GB, free: 14.31 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/1.025, allocations: 239.4 kB / 1.261 GB, free: 14.23 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/1.026, allocations: 0.7336 MB / 1.262 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.106e-05/1.026, allocations: 71.12 kB / 1.262 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.026, allocations: 89.53 kB / 1.262 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.028, allocations: 1.206 MB / 1.263 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/1.028, allocations: 0.875 kB / 1.263 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/1.028, allocations: 37.98 kB / 1.263 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.028, allocations: 24.69 kB / 1.263 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/1.03, allocations: 1.092 MB / 1.264 GB, free: 12.67 MB / 1.123 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.004167/1.035, allocations: 2.167 MB / 1.266 GB, free: 11.41 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/1.036, allocations: 0.8085 MB / 1.267 GB, free: 11.07 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/1.037, allocations: 292.5 kB / 1.267 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.879e-05/1.037, allocations: 26.11 kB / 1.267 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/1.038, allocations: 0.6023 MB / 1.268 GB, free: 10.63 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.826e-06/1.038, allocations: 3.938 kB / 1.268 GB, free: 10.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.003552/1.042, allocations: 1.171 MB / 1.269 GB, free: 10.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.042, allocations: 196.1 kB / 1.269 GB, free: 9.973 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.043, allocations: 0.6278 MB / 1.27 GB, free: 9.688 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/1.043, allocations: 47.92 kB / 1.27 GB, free: 9.641 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/1.043, allocations: 431.4 kB / 1.27 GB, free: 9.305 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/1.044, allocations: 287.4 kB / 1.271 GB, free: 9.078 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/1.044, allocations: 167.7 kB / 1.271 GB, free: 9.004 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.044, allocations: 390.1 kB / 1.271 GB, free: 8.656 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/1.045, allocations: 279.3 kB / 1.271 GB, free: 8.555 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007704/1.045, allocations: 0.4921 MB / 1.272 GB, free: 8.238 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/1.047, allocations: 0.6397 MB / 1.273 GB, free: 7.938 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.047, allocations: 0 / 1.273 GB, free: 7.938 MB / 1.123 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002146/1.049, allocations: 0.8839 MB / 1.273 GB, free: 7.586 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.049, allocations: 10.56 kB / 1.273 GB, free: 7.582 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.049, allocations: 0 / 1.273 GB, free: 7.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/1.049, allocations: 84.47 kB / 1.273 GB, free: 7.562 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/1.05, allocations: 175.5 kB / 1.274 GB, free: 7.547 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/1.052, allocations: 1.49 MB / 1.275 GB, free: 6.18 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/1.053, allocations: 93.05 kB / 1.275 GB, free: 6.133 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.053, allocations: 38.22 kB / 1.275 GB, free: 6.125 MB / 1.123 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.0004834/1.054, allocations: 277.9 kB / 1.275 GB, free: 5.918 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.054, allocations: 90.17 kB / 1.276 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/1.056, allocations: 1.089 MB / 1.277 GB, free: 5.438 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.056, allocations: 14.25 kB / 1.277 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.056, allocations: 0 / 1.277 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.056, allocations: 6.969 kB / 1.277 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.057, allocations: 0.6624 MB / 1.277 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.057, allocations: 4.656 kB / 1.277 GB, free: 5.074 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/1.058, allocations: 155.5 kB / 1.277 GB, free: 5.062 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/1.059, allocations: 68.64 kB / 1.278 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/1.059, allocations: 29.23 kB / 1.278 GB, free: 5.031 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/1.061, allocations: 1.535 MB / 1.279 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.061, allocations: 0.6562 kB / 1.279 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/1.064, allocations: 1.371 MB / 1.28 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/1.064, allocations: 200.2 kB / 1.281 GB, free: 2.945 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.064, allocations: 24.23 kB / 1.281 GB, free: 2.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/1.065, allocations: 60.73 kB / 1.281 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/1.065, allocations: 73.73 kB / 1.281 GB, free: 2.906 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/1.065, allocations: 37.66 kB / 1.281 GB, free: 2.898 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006259/1.066, allocations: 457.8 kB / 1.281 GB, free: 2.695 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/1.066, allocations: 0 / 1.281 GB, free: 2.695 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001011/1.067, allocations: 353.2 kB / 1.282 GB, free: 2.594 MB / 1.123 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.00215/1.069, allocations: 0.6377 MB / 1.282 GB, free: 2.363 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.071, allocations: 0.8266 MB / 1.283 GB, free: 2.023 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.071, allocations: 1.188 kB / 1.283 GB, free: 2.023 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/1.072, allocations: 0.5009 MB / 1.283 GB, free: 1.785 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/1.073, allocations: 295.1 kB / 1.284 GB, free: 1.691 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/1.077, allocations: 1.899 MB / 1.286 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/1.077, allocations: 455.2 kB / 1.286 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009096/1.078, allocations: 272 kB / 1.286 GB, free: 492 kB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/1.078, allocations: 112.2 kB / 1.286 GB, free: 468 kB / 1.123 GB Notification: Performance of SimCode: time 7.52e-07/1.078, allocations: 0 / 1.286 GB, free: 468 kB / 1.123 GB Notification: Performance of Templates: time 0.02984/1.108, allocations: 15.57 MB / 1.302 GB, free: 10.75 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.295432129059918]