Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00139/0.001389, allocations: 196.1 kB / 16.14 MB, free: 6.73 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.83/2.83, allocations: 437 MB / 0.71 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002046, allocations: 63.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6684, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2176/0.8861, allocations: 166.1 MB / 1.179 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.9128, allocations: 17.4 MB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.9157, allocations: 27.81 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.9175, allocations: 489 kB / 1.196 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00604/0.9237, allocations: 1.591 MB / 1.198 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00442/0.9281, allocations: 1.269 MB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005361/0.9335, allocations: 3.093 MB / 1.202 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.9367, allocations: 1.802 MB / 1.204 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006361/0.9431, allocations: 1.257 MB / 1.205 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.9451, allocations: 1.089 MB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003971/0.9455, allocations: 120 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/0.9494, allocations: 1.579 MB / 1.208 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.9502, allocations: 0.6892 MB / 1.209 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.9517, allocations: 1.115 MB / 1.21 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.9572, allocations: 3.497 MB / 1.213 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9572, allocations: 0 / 1.213 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9572, allocations: 4 kB / 1.213 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.252e-05/0.9573, allocations: 4 kB / 1.213 GB, free: 8.945 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005591/0.9629, allocations: 2.752 MB / 1.216 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9629, allocations: 8.031 kB / 1.216 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.9668, allocations: 0.5551 MB / 1.216 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.9702, allocations: 1.599 MB / 1.218 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.9703, allocations: 127.4 kB / 1.218 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.9706, allocations: 172 kB / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.9746, allocations: 1.94 MB / 1.22 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.9747, allocations: 3.984 kB / 1.22 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.9749, allocations: 75.98 kB / 1.22 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.9749, allocations: 44 kB / 1.22 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003871/0.9788, allocations: 2.085 MB / 1.222 GB, free: 15.41 MB / 0.9825 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.01089/0.9897, allocations: 6.065 MB / 1.228 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.9935, allocations: 2.102 MB / 1.23 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.9949, allocations: 0.7608 MB / 1.231 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.9956, allocations: 433.6 kB / 1.231 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.9977, allocations: 1.009 MB / 1.232 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.626e-06/0.9977, allocations: 0 / 1.232 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007305/1.005, allocations: 2.954 MB / 1.235 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002784/1.005, allocations: 197.2 kB / 1.235 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/1.008, allocations: 1.791 MB / 1.237 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003639/1.009, allocations: 61.64 kB / 1.237 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/1.01, allocations: 0.8272 MB / 1.238 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007528/1.011, allocations: 485 kB / 1.238 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000516/1.011, allocations: 250.8 kB / 1.239 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.011, allocations: 357.9 kB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/1.013, allocations: 0.5959 MB / 1.24 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.014, allocations: 0.8014 MB / 1.24 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/1.017, allocations: 1.333 MB / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.017, allocations: 0 / 1.242 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004413/1.021, allocations: 1.807 MB / 1.243 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/1.021, allocations: 7.938 kB / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.021, allocations: 0 / 1.243 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.022, allocations: 212.2 kB / 1.244 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.024, allocations: 335.5 kB / 1.244 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/1.031, allocations: 6.813 MB / 1.251 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.033, allocations: 174.9 kB / 1.251 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.033, allocations: 71.94 kB / 1.251 GB, free: 0.5156 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 (152): * Single equations (assignments): 147 * 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.001159/1.035, allocations: 479.2 kB / 1.251 GB, free: 40 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5936/1.628, allocations: 174.6 kB / 1.251 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/1.634, allocations: 2.121 MB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/1.634, allocations: 15.16 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.634, allocations: 8.031 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.939e-05/1.634, allocations: 8.531 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008065/1.642, allocations: 3.972 MB / 1.257 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.642, allocations: 1.125 kB / 1.257 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.644, allocations: 317.1 kB / 1.258 GB, free: 229 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.645, allocations: 223.1 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.645, allocations: 44.92 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/1.649, allocations: 6.833 MB / 1.265 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.649, allocations: 0 / 1.265 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004956/1.654, allocations: 1.987 MB / 1.267 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.655, allocations: 475.7 kB / 1.267 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/1.656, allocations: 28.02 kB / 1.267 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/1.657, allocations: 132.1 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/1.657, allocations: 112.9 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/1.658, allocations: 80.77 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002298/1.66, allocations: 1.279 MB / 1.269 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.66, allocations: 0 / 1.269 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002358/1.662, allocations: 0.6826 MB / 1.269 GB, free: 220.5 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.002331/1.665, allocations: 0.7525 MB / 1.27 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003493/1.668, allocations: 2.085 MB / 1.272 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.668, allocations: 2.656 kB / 1.272 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/1.67, allocations: 1.411 MB / 1.273 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.673, allocations: 0.5079 MB / 1.274 GB, free: 218.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/1.679, allocations: 4.597 MB / 1.278 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.68, allocations: 1.533 MB / 1.28 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002136/1.682, allocations: 499.3 kB / 1.28 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/1.683, allocations: 179.9 kB / 1.281 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.683, allocations: 0 / 1.281 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04306/1.726, allocations: 30.65 MB / 1.311 GB, free: 190.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches