Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001479/0.001479, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.19/2.19, allocations: 390.2 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 65.11 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3291, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.9257/1.255, allocations: 167.2 MB / 1.114 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0221/1.277, allocations: 17.2 MB / 1.13 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/1.28, allocations: 33.38 kB / 1.13 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/1.282, allocations: 0.5296 MB / 1.131 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00683/1.289, allocations: 1.682 MB / 1.133 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004547/1.293, allocations: 1.417 MB / 1.134 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004419/1.298, allocations: 2.668 MB / 1.137 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/1.301, allocations: 1.997 MB / 1.138 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/1.305, allocations: 1.392 MB / 1.14 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/1.308, allocations: 1.09 MB / 1.141 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001018/1.309, allocations: 221.7 kB / 1.141 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004898/1.314, allocations: 1.525 MB / 1.143 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00152/1.315, allocations: 0.7944 MB / 1.143 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/1.318, allocations: 1.184 MB / 1.145 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008721/1.327, allocations: 3.466 MB / 1.148 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.327, allocations: 0 / 1.148 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.865e-06/1.327, allocations: 0 / 1.148 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001769/1.327, allocations: 1.375 kB / 1.148 GB, free: 2.07 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.00881/1.336, allocations: 2.744 MB / 1.151 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.336, allocations: 10.5 kB / 1.151 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00525/1.341, allocations: 0.5582 MB / 1.151 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/1.347, allocations: 1.599 MB / 1.153 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/1.347, allocations: 127.1 kB / 1.153 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008864/1.348, allocations: 170 kB / 1.153 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006189/1.354, allocations: 1.954 MB / 1.155 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/1.354, allocations: 4 kB / 1.155 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/1.355, allocations: 76 kB / 1.155 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/1.355, allocations: 41.53 kB / 1.155 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004656/1.359, allocations: 2.117 MB / 1.157 GB, free: 13.9 MB / 0.8731 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.01265/1.372, allocations: 5.875 MB / 1.163 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/1.376, allocations: 2.13 MB / 1.165 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/1.378, allocations: 0.7694 MB / 1.166 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/1.378, allocations: 432.4 kB / 1.166 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/1.38, allocations: 1.021 MB / 1.167 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 4.789e-06/1.38, allocations: 0 / 1.167 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.007425/1.388, allocations: 2.981 MB / 1.17 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.388, allocations: 200.5 kB / 1.17 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/1.391, allocations: 1.809 MB / 1.172 GB, free: 5.859 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/1.392, allocations: 56.17 kB / 1.172 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000832/1.392, allocations: 0.8437 MB / 1.173 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005772/1.393, allocations: 479.3 kB / 1.173 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005441/1.394, allocations: 262.8 kB / 1.174 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.394, allocations: 363.5 kB / 1.174 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.395, allocations: 0.6041 MB / 1.174 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.396, allocations: 0.8079 MB / 1.175 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/1.399, allocations: 1.357 MB / 1.177 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.399, allocations: 2.625 kB / 1.177 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004327/1.403, allocations: 1.834 MB / 1.178 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.403, allocations: 9.969 kB / 1.178 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.403, allocations: 0 / 1.178 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/1.404, allocations: 219.7 kB / 1.179 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.406, allocations: 332.8 kB / 1.179 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/1.412, allocations: 7.325 MB / 1.186 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.414, allocations: 174.6 kB / 1.186 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/1.415, allocations: 55.08 kB / 1.186 GB, free: 10.04 MB / 0.8887 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 (153): * Single equations (assignments): 148 * 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.001427/1.416, allocations: 485.5 kB / 1.187 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008293/1.417, allocations: 185.8 kB / 1.187 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/1.422, allocations: 2.144 MB / 1.189 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/1.422, allocations: 13.72 kB / 1.189 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.422, allocations: 3.375 kB / 1.189 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.422, allocations: 7.969 kB / 1.189 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/1.431, allocations: 4.022 MB / 1.193 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/1.431, allocations: 0 / 1.193 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.432, allocations: 324.7 kB / 1.193 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/1.433, allocations: 200 kB / 1.193 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/1.434, allocations: 40.22 kB / 1.194 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006371/1.44, allocations: 7.354 MB / 1.201 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.44, allocations: 3.938 kB / 1.201 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/1.445, allocations: 2.011 MB / 1.203 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.447, allocations: 469 kB / 1.203 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006864/1.448, allocations: 35.84 kB / 1.203 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.449, allocations: 110.2 kB / 1.203 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/1.45, allocations: 118.4 kB / 1.203 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/1.45, allocations: 65.95 kB / 1.203 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002475/1.452, allocations: 1.291 MB / 1.205 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.11e-07/1.452, allocations: 7.938 kB / 1.205 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002848/1.455, allocations: 0.6592 MB / 1.205 GB, free: 11.91 MB / 0.9044 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.0023/1.458, allocations: 0.7598 MB / 1.206 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005692/1.463, allocations: 2.537 MB / 1.209 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.463, allocations: 6.047 kB / 1.209 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002517/1.466, allocations: 1.425 MB / 1.21 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.469, allocations: 0.524 MB / 1.21 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/1.479, allocations: 3.931 MB / 1.214 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.48, allocations: 1.49 MB / 1.216 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009584/1.481, allocations: 195.3 kB / 1.216 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/1.481, allocations: 0 / 1.216 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of Templates: time 0.0816/1.563, allocations: 66.94 MB / 1.281 GB, free: 0.9922 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches