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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 112.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 193.7 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 66.59 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008462/0.3281, allocations: 5.24 MB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7176/1.046, allocations: 148.4 MB / 1.214 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009869/1.047, allocations: 19.88 kB / 1.214 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/1.048, allocations: 158 kB / 1.214 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/1.05, allocations: 0.4962 MB / 1.215 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/1.052, allocations: 0.7534 MB / 1.216 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001967/1.054, allocations: 1.445 MB / 1.217 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/1.055, allocations: 0.6135 MB / 1.218 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008718/1.056, allocations: 0.4981 MB / 1.218 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/1.057, allocations: 0.5244 MB / 1.219 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/1.057, allocations: 121 kB / 1.219 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/1.058, allocations: 461.8 kB / 1.219 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/1.058, allocations: 310.8 kB / 1.219 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005962/1.059, allocations: 0.5839 MB / 1.22 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/1.061, allocations: 1.267 MB / 1.221 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.061, allocations: 4 kB / 1.221 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/1.061, allocations: 2.625 kB / 1.221 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.939e-05/1.061, allocations: 0 / 1.221 GB, free: 6.332 MB / 0.9356 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.002763/1.063, allocations: 1.487 MB / 1.223 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/1.064, allocations: 9.031 kB / 1.223 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/1.064, allocations: 192.6 kB / 1.223 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/1.066, allocations: 0.7621 MB / 1.224 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/1.066, allocations: 63.19 kB / 1.224 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/1.066, allocations: 85.5 kB / 1.224 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.067, allocations: 0.9545 MB / 1.225 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/1.067, allocations: 7.844 kB / 1.225 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/1.067, allocations: 42.72 kB / 1.225 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/1.068, allocations: 24.12 kB / 1.225 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/1.069, allocations: 1.135 MB / 1.226 GB, free: 3.199 MB / 0.9356 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.004484/1.074, allocations: 2.795 MB / 1.229 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/1.075, allocations: 0.8497 MB / 1.229 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/1.076, allocations: 326.6 kB / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.718e-05/1.076, allocations: 24.69 kB / 1.23 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/1.077, allocations: 0.5151 MB / 1.23 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 3.757e-06/1.077, allocations: 0 / 1.23 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.003668/1.081, allocations: 1.239 MB / 1.232 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.081, allocations: 200.8 kB / 1.232 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/1.082, allocations: 0.6489 MB / 1.232 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/1.082, allocations: 49.7 kB / 1.232 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/1.083, allocations: 408.4 kB / 1.233 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/1.083, allocations: 283.9 kB / 1.233 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/1.083, allocations: 174.5 kB / 1.233 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.083, allocations: 382.8 kB / 1.234 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/1.084, allocations: 277.8 kB / 1.234 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/1.085, allocations: 379.1 kB / 1.234 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.086, allocations: 0.6277 MB / 1.235 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.086, allocations: 4 kB / 1.235 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002152/1.088, allocations: 0.8877 MB / 1.236 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.088, allocations: 4 kB / 1.236 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.088, allocations: 4 kB / 1.236 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/1.089, allocations: 80.88 kB / 1.236 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/1.089, allocations: 175.7 kB / 1.236 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/1.092, allocations: 1.632 MB / 1.238 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008913/1.093, allocations: 109.4 kB / 1.238 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/1.093, allocations: 35.98 kB / 1.238 GB, free: 6.836 MB / 0.9512 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.0004972/1.093, allocations: 271.4 kB / 1.238 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.093, allocations: 82.97 kB / 1.238 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/1.096, allocations: 1.102 MB / 1.239 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.096, allocations: 11.98 kB / 1.239 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.096, allocations: 4 kB / 1.239 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.096, allocations: 3.984 kB / 1.239 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/1.097, allocations: 0.923 MB / 1.24 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.097, allocations: 0 / 1.24 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006682/1.098, allocations: 159.8 kB / 1.24 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.098, allocations: 76.73 kB / 1.24 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/1.099, allocations: 27.97 kB / 1.24 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.101, allocations: 1.662 MB / 1.242 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.101, allocations: 3.938 kB / 1.242 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/1.104, allocations: 1.371 MB / 1.243 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/1.104, allocations: 267.8 kB / 1.243 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.104, allocations: 27.88 kB / 1.243 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006697/1.105, allocations: 72.97 kB / 1.244 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/1.105, allocations: 76.83 kB / 1.244 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/1.105, allocations: 31.98 kB / 1.244 GB, free: 432 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006572/1.106, allocations: 475.1 kB / 1.244 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 0 / 1.244 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000919/1.107, allocations: 334.9 kB / 1.244 GB, free: 15.64 MB / 0.9669 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.00195/1.109, allocations: 0.6128 MB / 1.245 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002736/1.112, allocations: 1.066 MB / 1.246 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.112, allocations: 4 kB / 1.246 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.113, allocations: 0.5314 MB / 1.247 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.114, allocations: 299.4 kB / 1.247 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/1.118, allocations: 2.338 MB / 1.249 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/1.119, allocations: 1.039 MB / 1.25 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.119, allocations: 115.4 kB / 1.25 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of SimCode: time 3.156e-06/1.119, allocations: 4 kB / 1.25 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of Templates: time 0.0286/1.148, allocations: 19.08 MB / 1.269 GB, free: 6.719 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) 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) Reference file matches