Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_CpLowRise,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_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_9_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.001036/0.001036, allocations: 91.92 kB / 16.02 MB, free: 80 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.001366/0.001366, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003941, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7277, allocations: 142.4 MB / 0.9557 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1879/0.9157, allocations: 162.5 MB / 1.114 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.9403, allocations: 16.72 MB / 1.131 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.9422, allocations: 23.81 kB / 1.131 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.9441, allocations: 437.3 kB / 1.131 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.9492, allocations: 1.365 MB / 1.133 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.9529, allocations: 1.165 MB / 1.134 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003657/0.9566, allocations: 2.646 MB / 1.136 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.9596, allocations: 1.663 MB / 1.138 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.9651, allocations: 0.9939 MB / 1.139 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.9667, allocations: 0.7382 MB / 1.14 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.9673, allocations: 43.94 kB / 1.14 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003507/0.9708, allocations: 1.403 MB / 1.141 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006992/0.9715, allocations: 370.2 kB / 1.141 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.9731, allocations: 0.7976 MB / 1.142 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003392/0.9765, allocations: 2.19 MB / 1.144 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9765, allocations: 3.938 kB / 1.144 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9765, allocations: 0 / 1.144 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.959e-05/0.9766, allocations: 0 / 1.144 GB, free: 13.57 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004246/0.9809, allocations: 1.859 MB / 1.146 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.9809, allocations: 8.031 kB / 1.146 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.985, allocations: 0.5127 MB / 1.147 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.9874, allocations: 1.09 MB / 1.148 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.9876, allocations: 135.4 kB / 1.148 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.988, allocations: 164 kB / 1.148 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/0.9922, allocations: 1.843 MB / 1.15 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.9923, allocations: 3.938 kB / 1.15 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.9925, allocations: 80 kB / 1.15 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.9926, allocations: 40 kB / 1.15 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00385/0.9964, allocations: 1.882 MB / 1.152 GB, free: 5.793 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.009804/1.006, allocations: 5.195 MB / 1.157 GB, free: 356 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/1.01, allocations: 1.78 MB / 1.159 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.011, allocations: 0.6476 MB / 1.159 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/1.012, allocations: 0.8156 MB / 1.16 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/1.014, allocations: 0.8931 MB / 1.161 GB, free: 11.95 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.638e-06/1.014, allocations: 3.938 kB / 1.161 GB, free: 11.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006981/1.021, allocations: 2.572 MB / 1.163 GB, free: 9.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/1.021, allocations: 213.2 kB / 1.164 GB, free: 9.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/1.023, allocations: 0.8344 MB / 1.164 GB, free: 8.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002548/1.023, allocations: 61.7 kB / 1.164 GB, free: 8.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/1.024, allocations: 0.6368 MB / 1.165 GB, free: 7.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/1.025, allocations: 481 kB / 1.165 GB, free: 6.965 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.025, allocations: 109.7 kB / 1.166 GB, free: 6.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.025, allocations: 353.9 kB / 1.166 GB, free: 6.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/1.026, allocations: 0.4945 MB / 1.166 GB, free: 6.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/1.027, allocations: 0.6385 MB / 1.167 GB, free: 5.336 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002268/1.03, allocations: 1.134 MB / 1.168 GB, free: 4.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.03, allocations: 96 / 1.168 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003714/1.033, allocations: 1.565 MB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.033, allocations: 8 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.033, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009586/1.034, allocations: 192.1 kB / 1.17 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.036, allocations: 339.6 kB / 1.17 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/1.042, allocations: 6.77 MB / 1.177 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.044, allocations: 186.7 kB / 1.177 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.044, allocations: 55.95 kB / 1.177 GB, free: 10.38 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 (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.001127/1.045, allocations: 371.3 kB / 1.177 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/1.046, allocations: 134.5 kB / 1.178 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/1.05, allocations: 1.854 MB / 1.179 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.05, allocations: 16 kB / 1.179 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.05, allocations: 0 / 1.179 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.05, allocations: 7.969 kB / 1.179 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006674/1.057, allocations: 3.451 MB / 1.183 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.057, allocations: 0 / 1.183 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.058, allocations: 327.5 kB / 1.183 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008814/1.059, allocations: 184.1 kB / 1.183 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.059, allocations: 47.89 kB / 1.183 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/1.065, allocations: 6.81 MB / 1.19 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.065, allocations: 0 / 1.19 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/1.07, allocations: 1.718 MB / 1.192 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.071, allocations: 422.8 kB / 1.192 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003261/1.071, allocations: 28 kB / 1.192 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.073, allocations: 146.5 kB / 1.192 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.073, allocations: 109.1 kB / 1.192 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.073, allocations: 75.94 kB / 1.192 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009225/1.074, allocations: 0.5745 MB / 1.193 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0 / 1.193 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001884/1.076, allocations: 0.5805 MB / 1.193 GB, free: 8.695 MB / 0.9512 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.00201/1.078, allocations: 0.7209 MB / 1.194 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.082, allocations: 1.875 MB / 1.196 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.082, allocations: 0.5625 kB / 1.196 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.084, allocations: 1.313 MB / 1.197 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/1.087, allocations: 473.5 kB / 1.198 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007467/1.094, allocations: 3.785 MB / 1.201 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.095, allocations: 1.294 MB / 1.203 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000772/1.096, allocations: 175.3 kB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of SimCode: time 9.12e-07/1.096, allocations: 4 kB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.5793/1.676, allocations: 56.99 MB / 1.258 GB, free: 276.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches