Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005476/0.005476, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001263/0.001263, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 60.58 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.324, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1763/0.5004, allocations: 165.9 MB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02287/0.5233, allocations: 17.1 MB / 1.231 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/0.5251, allocations: 35.75 kB / 1.232 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.5271, allocations: 465.1 kB / 1.232 GB, free: 56 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005062/0.5323, allocations: 1.438 MB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.536, allocations: 1.179 MB / 1.235 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003734/0.5398, allocations: 2.84 MB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003037/0.5428, allocations: 1.74 MB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005685/0.5485, allocations: 1.188 MB / 1.24 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.5503, allocations: 0.9645 MB / 1.241 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006849/0.551, allocations: 112 kB / 1.241 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.5544, allocations: 1.458 MB / 1.243 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007438/0.5552, allocations: 474.2 kB / 1.243 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.5569, allocations: 0.9442 MB / 1.244 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.5603, allocations: 2.3 MB / 1.246 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5603, allocations: 0 / 1.246 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5603, allocations: 4 kB / 1.246 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001132/0.5604, allocations: 0 / 1.246 GB, free: 1.383 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.5654/1.126, allocations: 2.272 MB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.126, allocations: 13.28 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004019/1.13, allocations: 0.5074 MB / 1.249 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/1.132, allocations: 1.084 MB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.132, allocations: 132.8 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/1.132, allocations: 166.4 kB / 1.25 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/1.136, allocations: 1.848 MB / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/1.136, allocations: 0 / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/1.136, allocations: 74.41 kB / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/1.136, allocations: 42.53 kB / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/1.139, allocations: 1.875 MB / 1.254 GB, free: 193.2 MB / 0.9981 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.009233/1.149, allocations: 5.543 MB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/1.152, allocations: 1.767 MB / 1.261 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/1.153, allocations: 0.6475 MB / 1.262 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000766/1.154, allocations: 0.8045 MB / 1.263 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001799/1.156, allocations: 0.9056 MB / 1.264 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.827e-06/1.156, allocations: 0 / 1.264 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.007119/1.163, allocations: 2.547 MB / 1.266 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/1.163, allocations: 200.9 kB / 1.266 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.164, allocations: 0.831 MB / 1.267 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/1.165, allocations: 55.95 kB / 1.267 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005929/1.165, allocations: 0.6429 MB / 1.268 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/1.166, allocations: 484.4 kB / 1.268 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/1.166, allocations: 256 kB / 1.268 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.166, allocations: 357.1 kB / 1.269 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/1.167, allocations: 498.4 kB / 1.269 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.169, allocations: 0.6378 MB / 1.27 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/1.171, allocations: 1.115 MB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.172, allocations: 2.781 kB / 1.271 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00444/1.176, allocations: 1.55 MB / 1.272 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.176, allocations: 9.094 kB / 1.272 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.176, allocations: 3.188 kB / 1.272 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/1.177, allocations: 190.9 kB / 1.273 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/1.179, allocations: 340.4 kB / 1.273 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/1.183, allocations: 6.781 MB / 1.28 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.185, allocations: 171.1 kB / 1.28 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/1.185, allocations: 57.81 kB / 1.28 GB, free: 179.6 MB / 0.9981 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009694/1.186, allocations: 380.3 kB / 1.28 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/1.187, allocations: 132.8 kB / 1.28 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/1.191, allocations: 1.849 MB / 1.282 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/1.192, allocations: 16.36 kB / 1.282 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.192, allocations: 5.375 kB / 1.282 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.407e-05/1.192, allocations: 10.22 kB / 1.282 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/1.199, allocations: 3.434 MB / 1.285 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.199, allocations: 5.062 kB / 1.285 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.2, allocations: 312.9 kB / 1.286 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008283/1.201, allocations: 198.6 kB / 1.286 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.201, allocations: 47.41 kB / 1.286 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/1.205, allocations: 6.787 MB / 1.293 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.205, allocations: 0 / 1.293 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/1.21, allocations: 1.71 MB / 1.294 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009452/1.211, allocations: 402.6 kB / 1.295 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/1.211, allocations: 35.16 kB / 1.295 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.212, allocations: 127.7 kB / 1.295 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.212, allocations: 112.9 kB / 1.295 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.213, allocations: 75 kB / 1.295 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008948/1.214, allocations: 0.5789 MB / 1.296 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 3.938 kB / 1.296 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002152/1.216, allocations: 0.6061 MB / 1.296 GB, free: 168.1 MB / 0.9981 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/1.218, allocations: 0.7294 MB / 1.297 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003504/1.221, allocations: 1.862 MB / 1.299 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.221, allocations: 2 kB / 1.299 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/1.223, allocations: 1.3 MB / 1.3 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.226, allocations: 0.4929 MB / 1.3 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/1.232, allocations: 3.6 MB / 1.304 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/1.233, allocations: 1.299 MB / 1.305 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007893/1.233, allocations: 180.2 kB / 1.305 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/1.233, allocations: 3.938 kB / 1.305 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04852/1.282, allocations: 57.58 MB / 1.362 GB, free: 106.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches