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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001284/0.001284, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001064/0.001064, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.447/2.447, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 63.03 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2993, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007163/0.3066, allocations: 5.138 MB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7115/1.018, allocations: 150.6 MB / 1.179 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/1.019, allocations: 16.94 kB / 1.179 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009615/1.02, allocations: 199.2 kB / 1.179 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/1.023, allocations: 0.5626 MB / 1.18 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.026, allocations: 0.8318 MB / 1.18 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002832/1.029, allocations: 1.43 MB / 1.182 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/1.031, allocations: 0.5885 MB / 1.182 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/1.033, allocations: 0.4932 MB / 1.183 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/1.034, allocations: 0.5118 MB / 1.183 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005508/1.035, allocations: 118.6 kB / 1.183 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/1.036, allocations: 489 kB / 1.184 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005503/1.037, allocations: 301.6 kB / 1.184 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/1.038, allocations: 0.5755 MB / 1.185 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/1.042, allocations: 1.658 MB / 1.186 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.042, allocations: 0 / 1.186 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.655e-06/1.042, allocations: 0 / 1.186 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.45e-05/1.042, allocations: 0 / 1.186 GB, free: 1.734 MB / 0.8887 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.004208/1.046, allocations: 1.464 MB / 1.188 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.046, allocations: 9.438 kB / 1.188 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/1.047, allocations: 188.3 kB / 1.188 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.049, allocations: 0.7882 MB / 1.189 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.065e-05/1.049, allocations: 61.69 kB / 1.189 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/1.05, allocations: 85.47 kB / 1.189 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/1.052, allocations: 0.9405 MB / 1.19 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/1.052, allocations: 0 / 1.19 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.916e-05/1.052, allocations: 36.94 kB / 1.19 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/1.052, allocations: 20.91 kB / 1.19 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/1.054, allocations: 1.119 MB / 1.191 GB, free: 14.62 MB / 0.9044 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.004465/1.058, allocations: 2.736 MB / 1.194 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/1.06, allocations: 0.8124 MB / 1.194 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/1.06, allocations: 310.4 kB / 1.195 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/1.06, allocations: 29.33 kB / 1.195 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008236/1.061, allocations: 499.2 kB / 1.195 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/1.061, allocations: 7.938 kB / 1.195 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003202/1.064, allocations: 1.204 MB / 1.196 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/1.064, allocations: 187.9 kB / 1.197 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/1.065, allocations: 0.6384 MB / 1.197 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/1.065, allocations: 43.17 kB / 1.197 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/1.066, allocations: 411 kB / 1.198 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/1.066, allocations: 268.9 kB / 1.198 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/1.066, allocations: 169.1 kB / 1.198 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000167/1.066, allocations: 387.7 kB / 1.198 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/1.067, allocations: 275.1 kB / 1.199 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/1.068, allocations: 364.4 kB / 1.199 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.069, allocations: 0.6128 MB / 1.2 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.069, allocations: 0 / 1.2 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001961/1.071, allocations: 0.8587 MB / 1.2 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/1.071, allocations: 11.81 kB / 1.201 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.071, allocations: 3.984 kB / 1.201 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/1.071, allocations: 83.66 kB / 1.201 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.072, allocations: 170.6 kB / 1.201 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.074, allocations: 1.625 MB / 1.202 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008946/1.075, allocations: 97.5 kB / 1.202 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/1.075, allocations: 37.19 kB / 1.202 GB, free: 6.309 MB / 0.9044 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.000548/1.076, allocations: 278.1 kB / 1.203 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/1.076, allocations: 84.5 kB / 1.203 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/1.078, allocations: 1.069 MB / 1.204 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.078, allocations: 9.531 kB / 1.204 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.078, allocations: 3.938 kB / 1.204 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.078, allocations: 10.5 kB / 1.204 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/1.08, allocations: 0.9063 MB / 1.205 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.08, allocations: 0 / 1.205 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/1.08, allocations: 148.1 kB / 1.205 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/1.081, allocations: 74.72 kB / 1.205 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/1.081, allocations: 31.36 kB / 1.205 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.083, allocations: 1.657 MB / 1.207 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.083, allocations: 2.031 kB / 1.207 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/1.086, allocations: 1.335 MB / 1.208 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/1.086, allocations: 271.3 kB / 1.208 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/1.087, allocations: 17.69 kB / 1.208 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/1.087, allocations: 72.3 kB / 1.208 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.088, allocations: 73.34 kB / 1.208 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/1.088, allocations: 34.53 kB / 1.208 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008403/1.089, allocations: 464.1 kB / 1.209 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.1e-07/1.089, allocations: 0 / 1.209 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001338/1.09, allocations: 333.5 kB / 1.209 GB, free: 1.629 MB / 0.9044 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.001601/1.092, allocations: 0.5968 MB / 1.21 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001915/1.093, allocations: 0.8378 MB / 1.211 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.094, allocations: 3.938 kB / 1.211 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.095, allocations: 0.5278 MB / 1.211 GB, free: 20 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.096, allocations: 300.3 kB / 1.211 GB, free: 15.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/1.1, allocations: 1.781 MB / 1.213 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/1.1, allocations: 1.035 MB / 1.214 GB, free: 12.88 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009372/1.101, allocations: 258.8 kB / 1.214 GB, free: 12.62 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.102, allocations: 107.4 kB / 1.214 GB, free: 12.52 MB / 0.92 GB Notification: Performance of SimCode: time 1.302e-06/1.102, allocations: 4 kB / 1.214 GB, free: 12.52 MB / 0.92 GB Notification: Performance of Templates: time 0.02775/1.129, allocations: 15.25 MB / 1.229 GB, free: 13.43 MB / 0.9356 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 -s gbode -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