Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001674/0.001674, allocations: 194.3 kB / 16.14 MB, free: 6.648 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 75.83 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6891, allocations: 140.4 MB / 0.9489 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1818/0.8709, allocations: 164.9 MB / 1.11 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.8943, allocations: 17.25 MB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.8963, allocations: 27.81 kB / 1.127 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.8981, allocations: 457.2 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.9035, allocations: 1.491 MB / 1.129 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.9069, allocations: 1.264 MB / 1.13 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003652/0.9106, allocations: 2.891 MB / 1.133 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.9134, allocations: 1.864 MB / 1.135 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.9189, allocations: 1.229 MB / 1.136 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.9207, allocations: 1.054 MB / 1.137 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003679/0.9211, allocations: 120 kB / 1.137 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.9244, allocations: 1.579 MB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/0.9252, allocations: 0.7007 MB / 1.139 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.9265, allocations: 1.072 MB / 1.14 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.9308, allocations: 3.435 MB / 1.144 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9308, allocations: 0 / 1.144 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9308, allocations: 0 / 1.144 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.567e-05/0.9308, allocations: 0 / 1.144 GB, free: 10.18 MB / 0.9044 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.00459/0.9354, allocations: 2.725 MB / 1.146 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.9355, allocations: 12.03 kB / 1.146 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/0.9392, allocations: 0.5512 MB / 1.147 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.9417, allocations: 1.595 MB / 1.148 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.9418, allocations: 131.4 kB / 1.148 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.942, allocations: 168 kB / 1.149 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/0.9454, allocations: 1.94 MB / 1.15 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.9454, allocations: 3.938 kB / 1.15 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.9456, allocations: 76 kB / 1.151 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.9456, allocations: 40 kB / 1.151 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.9491, allocations: 2.093 MB / 1.153 GB, free: 0.6758 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.01016/0.9593, allocations: 5.696 MB / 1.158 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.9628, allocations: 2.087 MB / 1.16 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.9641, allocations: 0.7608 MB / 1.161 GB, free: 7.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006115/0.9647, allocations: 437.6 kB / 1.161 GB, free: 7.289 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/0.9665, allocations: 1.001 MB / 1.162 GB, free: 6.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.697e-06/0.9666, allocations: 0 / 1.162 GB, free: 6.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.00704/0.9736, allocations: 2.95 MB / 1.165 GB, free: 3.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.9738, allocations: 197.2 kB / 1.165 GB, free: 2.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.9764, allocations: 1.788 MB / 1.167 GB, free: 1.168 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.9766, allocations: 57.7 kB / 1.167 GB, free: 1.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007353/0.9773, allocations: 0.8311 MB / 1.168 GB, free: 268 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004997/0.9779, allocations: 480.9 kB / 1.169 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/0.9783, allocations: 262.7 kB / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9785, allocations: 361.9 kB / 1.169 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.9796, allocations: 0.592 MB / 1.17 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.9809, allocations: 0.8053 MB / 1.17 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.9832, allocations: 1.329 MB / 1.172 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.9832, allocations: 0 / 1.172 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004046/0.9873, allocations: 1.807 MB / 1.174 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.9874, allocations: 9.812 kB / 1.174 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.9874, allocations: 0 / 1.174 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.9884, allocations: 212.1 kB / 1.174 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.9901, allocations: 331.6 kB / 1.174 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/0.9964, allocations: 6.806 MB / 1.181 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.9983, allocations: 174.8 kB / 1.181 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.9985, allocations: 55.95 kB / 1.181 GB, free: 2.289 MB / 0.9356 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.001019/0.9995, allocations: 487.4 kB / 1.181 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/1, allocations: 177.8 kB / 1.182 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/1.004, allocations: 2.133 MB / 1.184 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.004, allocations: 12 kB / 1.184 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.004, allocations: 7.938 kB / 1.184 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.004, allocations: 7.969 kB / 1.184 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007039/1.012, allocations: 3.983 MB / 1.188 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.012, allocations: 0 / 1.188 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.013, allocations: 315.6 kB / 1.188 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009912/1.014, allocations: 216.1 kB / 1.188 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.014, allocations: 47.89 kB / 1.188 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005655/1.02, allocations: 6.827 MB / 1.195 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.02, allocations: 0 / 1.195 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/1.024, allocations: 1.99 MB / 1.197 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.026, allocations: 470.3 kB / 1.197 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/1.026, allocations: 28 kB / 1.197 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/1.027, allocations: 129 kB / 1.197 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/1.028, allocations: 113.1 kB / 1.197 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.028, allocations: 71.95 kB / 1.197 GB, free: 460 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001842/1.03, allocations: 1.277 MB / 1.199 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.03, allocations: 0 / 1.199 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002029/1.032, allocations: 0.6586 MB / 1.199 GB, free: 14.52 MB / 0.9669 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.001837/1.034, allocations: 0.7613 MB / 1.2 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.037, allocations: 2.078 MB / 1.202 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.037, allocations: 0.5625 kB / 1.202 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/1.04, allocations: 1.414 MB / 1.204 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/1.043, allocations: 0.5013 MB / 1.204 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/1.05, allocations: 4.69 MB / 1.209 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.052, allocations: 1.529 MB / 1.21 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002067/1.054, allocations: 0.4928 MB / 1.211 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/1.054, allocations: 171.4 kB / 1.211 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/1.054, allocations: 0 / 1.211 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of Templates: time 0.05428/1.109, allocations: 29.86 MB / 1.24 GB, free: 5.328 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches