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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.00165/0.00165, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.508/2.508, allocations: 469.4 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 62 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006449/0.3214, allocations: 5.134 MB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7198/1.041, allocations: 150.6 MB / 1.216 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/1.042, allocations: 19.44 kB / 1.216 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008425/1.043, allocations: 193 kB / 1.217 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/1.046, allocations: 0.5597 MB / 1.217 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/1.048, allocations: 0.8338 MB / 1.218 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002114/1.05, allocations: 1.416 MB / 1.219 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/1.051, allocations: 0.5894 MB / 1.22 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/1.052, allocations: 0.4888 MB / 1.22 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/1.053, allocations: 0.5113 MB / 1.221 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003638/1.054, allocations: 122.1 kB / 1.221 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/1.055, allocations: 457.4 kB / 1.221 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004543/1.056, allocations: 310.7 kB / 1.222 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009814/1.057, allocations: 0.5674 MB / 1.222 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/1.059, allocations: 1.621 MB / 1.224 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.06, allocations: 4 kB / 1.224 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/1.06, allocations: 0 / 1.224 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.253e-05/1.06, allocations: 0 / 1.224 GB, free: 3.863 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003451/1.063, allocations: 1.46 MB / 1.225 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.063, allocations: 10.28 kB / 1.225 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/1.064, allocations: 190.8 kB / 1.225 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/1.066, allocations: 0.7549 MB / 1.226 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/1.066, allocations: 71.44 kB / 1.226 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.066, allocations: 84.09 kB / 1.226 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/1.068, allocations: 0.9374 MB / 1.227 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/1.068, allocations: 3.938 kB / 1.227 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/1.068, allocations: 36.91 kB / 1.227 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/1.068, allocations: 19.91 kB / 1.227 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.07, allocations: 1.128 MB / 1.228 GB, free: 0.7734 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.004563/1.074, allocations: 2.764 MB / 1.231 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.076, allocations: 0.8082 MB / 1.232 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/1.077, allocations: 306.7 kB / 1.232 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/1.077, allocations: 36.59 kB / 1.232 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009421/1.078, allocations: 499 kB / 1.233 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/1.078, allocations: 0 / 1.233 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.003337/1.081, allocations: 1.207 MB / 1.234 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.081, allocations: 196.6 kB / 1.234 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/1.082, allocations: 0.641 MB / 1.235 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.382e-05/1.082, allocations: 45.7 kB / 1.235 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/1.083, allocations: 404.3 kB / 1.235 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/1.083, allocations: 268.1 kB / 1.235 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/1.083, allocations: 170.5 kB / 1.236 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.083, allocations: 382.8 kB / 1.236 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/1.084, allocations: 273.8 kB / 1.236 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/1.085, allocations: 363.1 kB / 1.236 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.086, allocations: 0.619 MB / 1.237 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.086, allocations: 0 / 1.237 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002106/1.088, allocations: 0.8605 MB / 1.238 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.088, allocations: 7.938 kB / 1.238 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.088, allocations: 7.938 kB / 1.238 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/1.089, allocations: 84.86 kB / 1.238 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/1.089, allocations: 159.8 kB / 1.238 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/1.092, allocations: 1.63 MB / 1.24 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000878/1.092, allocations: 100.5 kB / 1.24 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.093, allocations: 39.97 kB / 1.24 GB, free: 4.602 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 (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.0005228/1.093, allocations: 267.9 kB / 1.24 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/1.093, allocations: 86.97 kB / 1.24 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/1.096, allocations: 1.073 MB / 1.241 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.096, allocations: 8 kB / 1.241 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.096, allocations: 1.219 kB / 1.241 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.096, allocations: 7.984 kB / 1.241 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.097, allocations: 0.9035 MB / 1.242 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/1.097, allocations: 0 / 1.242 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/1.098, allocations: 151.8 kB / 1.242 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/1.098, allocations: 76.78 kB / 1.242 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/1.098, allocations: 31.91 kB / 1.242 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/1.1, allocations: 1.658 MB / 1.244 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.1, allocations: 0 / 1.244 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/1.103, allocations: 1.34 MB / 1.245 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/1.104, allocations: 267.8 kB / 1.246 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/1.104, allocations: 23.98 kB / 1.246 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006962/1.105, allocations: 72.7 kB / 1.246 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.105, allocations: 72.55 kB / 1.246 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/1.105, allocations: 35.98 kB / 1.246 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006693/1.106, allocations: 463 kB / 1.246 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.106, allocations: 0 / 1.246 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009538/1.107, allocations: 339.1 kB / 1.247 GB, free: 13.51 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 (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.001424/1.108, allocations: 0.6014 MB / 1.247 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002505/1.111, allocations: 1.043 MB / 1.248 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.111, allocations: 4 kB / 1.248 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009865/1.112, allocations: 0.5236 MB / 1.249 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.113, allocations: 306.1 kB / 1.249 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/1.117, allocations: 1.838 MB / 1.251 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/1.118, allocations: 1.028 MB / 1.252 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/1.118, allocations: 115.4 kB / 1.252 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of SimCode: time 8.92e-07/1.118, allocations: 0 / 1.252 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of Templates: time 0.02817/1.146, allocations: 18.77 MB / 1.27 GB, free: 5.457 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) 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) Reference file matches