Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003653, allocations: 16.28 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3036, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00566/0.3093, allocations: 4.514 MB / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1623/0.4717, allocations: 146.7 MB / 1.207 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000996/0.4727, allocations: 19.88 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008241/0.4736, allocations: 142.9 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.4758, allocations: 471 kB / 1.208 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.4781, allocations: 0.7253 MB / 1.208 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.4801, allocations: 1.28 MB / 1.21 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.4812, allocations: 0.54 MB / 1.21 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007856/0.482, allocations: 346.4 kB / 1.21 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.4828, allocations: 377.9 kB / 1.211 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.483, allocations: 27.94 kB / 1.211 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.4841, allocations: 375.6 kB / 1.211 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.4843, allocations: 187.1 kB / 1.211 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.485, allocations: 466.9 kB / 1.212 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.4865, allocations: 1.161 MB / 1.213 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4866, allocations: 4 kB / 1.213 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4866, allocations: 0 / 1.213 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.206e-05/0.4866, allocations: 0 / 1.213 GB, free: 7.07 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002732/0.4894, allocations: 1.212 MB / 1.214 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4894, allocations: 11.97 kB / 1.214 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.4905, allocations: 199.4 kB / 1.214 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.4919, allocations: 0.7421 MB / 1.215 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.492, allocations: 66 kB / 1.215 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.4921, allocations: 80 kB / 1.215 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.494, allocations: 0.9153 MB / 1.216 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.4941, allocations: 7.938 kB / 1.216 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.4942, allocations: 40 kB / 1.216 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.4942, allocations: 20 kB / 1.216 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.4961, allocations: 1.1 MB / 1.217 GB, free: 2.547 MB / 0.9669 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.004606/0.5007, allocations: 2.802 MB / 1.22 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5022, allocations: 0.7818 MB / 1.221 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.5028, allocations: 306.6 kB / 1.221 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.5029, allocations: 36.53 kB / 1.221 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009384/0.5038, allocations: 495 kB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 4.308e-06/0.5039, allocations: 4 kB / 1.221 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003199/0.5071, allocations: 1.182 MB / 1.223 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.5072, allocations: 196.5 kB / 1.223 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.5081, allocations: 0.6331 MB / 1.223 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.5082, allocations: 41.7 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.5086, allocations: 400.4 kB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.5088, allocations: 252.4 kB / 1.224 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5089, allocations: 69.67 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5091, allocations: 390.7 kB / 1.225 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.5097, allocations: 261.9 kB / 1.225 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.5103, allocations: 368 kB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5114, allocations: 0.612 MB / 1.226 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.5114, allocations: 0 / 1.226 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00198/0.5134, allocations: 0.8527 MB / 1.227 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5134, allocations: 8.125 kB / 1.227 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5135, allocations: 4 kB / 1.227 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.5141, allocations: 80.77 kB / 1.227 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.5147, allocations: 167.7 kB / 1.227 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.5168, allocations: 1.526 MB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.5176, allocations: 99.31 kB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.5177, allocations: 35.97 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.000555/0.5183, allocations: 267.4 kB / 1.229 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.5185, allocations: 86.84 kB / 1.229 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.5211, allocations: 1.066 MB / 1.23 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.5211, allocations: 8 kB / 1.23 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5211, allocations: 0 / 1.23 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5211, allocations: 3.984 kB / 1.23 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.5224, allocations: 0.884 MB / 1.231 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.5224, allocations: 11.94 kB / 1.231 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/0.523, allocations: 147.7 kB / 1.231 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.5235, allocations: 84.77 kB / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.5236, allocations: 23.98 kB / 1.231 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.5254, allocations: 1.532 MB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5254, allocations: 12.03 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.5273, allocations: 0.9161 MB / 1.233 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/0.5278, allocations: 287.6 kB / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5279, allocations: 20.06 kB / 1.234 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.5286, allocations: 90.48 kB / 1.234 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5287, allocations: 64.91 kB / 1.234 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.177e-05/0.5288, allocations: 39.97 kB / 1.234 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006139/0.5294, allocations: 459 kB / 1.234 GB, free: 352 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5295, allocations: 4 kB / 1.234 GB, free: 348 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008918/0.5303, allocations: 315.3 kB / 1.235 GB, free: 32 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001466/0.5318, allocations: 0.5929 MB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.5336, allocations: 0.8195 MB / 1.236 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5336, allocations: 0 / 1.236 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/0.5345, allocations: 0.5238 MB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.5358, allocations: 288.7 kB / 1.237 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5393, allocations: 2.15 MB / 1.239 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.5399, allocations: 1.016 MB / 1.24 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.5403, allocations: 115.4 kB / 1.24 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/0.5403, allocations: 0 / 1.24 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Templates: time 0.5426/1.083, allocations: 18.19 MB / 1.258 GB, free: 188.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches