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.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.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.001093/0.001093, allocations: 92.78 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.001345/0.001345, allocations: 178.2 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.285 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.413/2.413, allocations: 390.9 MB / 0.667 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7942, allocations: 142.4 MB / 0.9557 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1854/0.9796, allocations: 162.7 MB / 1.115 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02463/1.004, allocations: 17.02 MB / 1.131 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/1.007, allocations: 31.75 kB / 1.131 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002/1.009, allocations: 449.3 kB / 1.132 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005829/1.014, allocations: 1.507 MB / 1.133 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/1.019, allocations: 1.269 MB / 1.134 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004242/1.023, allocations: 2.904 MB / 1.137 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004109/1.027, allocations: 1.721 MB / 1.139 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006548/1.033, allocations: 1.079 MB / 1.14 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/1.035, allocations: 0.8705 MB / 1.141 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005565/1.036, allocations: 52 kB / 1.141 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/1.04, allocations: 1.516 MB / 1.142 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009914/1.041, allocations: 0.5954 MB / 1.143 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/1.043, allocations: 0.9682 MB / 1.144 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003797/1.046, allocations: 2.572 MB / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.046, allocations: 0 / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.914e-06/1.046, allocations: 0 / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.678e-05/1.047, allocations: 0 / 1.146 GB, free: 11.41 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004489/1.051, allocations: 2.28 MB / 1.149 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.051, allocations: 16.02 kB / 1.149 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/1.055, allocations: 0.5591 MB / 1.149 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/1.057, allocations: 1.599 MB / 1.151 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.058, allocations: 131.4 kB / 1.151 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/1.058, allocations: 168 kB / 1.151 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/1.061, allocations: 1.968 MB / 1.153 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/1.061, allocations: 0 / 1.153 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/1.062, allocations: 83.94 kB / 1.153 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/1.062, allocations: 40 kB / 1.153 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/1.065, allocations: 2.136 MB / 1.155 GB, free: 2.262 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.009534/1.075, allocations: 5.894 MB / 1.161 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/1.078, allocations: 2.158 MB / 1.163 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/1.08, allocations: 0.7764 MB / 1.164 GB, free: 9.105 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/1.08, allocations: 437.6 kB / 1.164 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/1.082, allocations: 1.028 MB / 1.165 GB, free: 7.555 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.108e-06/1.082, allocations: 0 / 1.165 GB, free: 7.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007206/1.089, allocations: 3.02 MB / 1.168 GB, free: 4.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.089, allocations: 193.2 kB / 1.168 GB, free: 4.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/1.092, allocations: 1.812 MB / 1.17 GB, free: 2.363 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/1.093, allocations: 57.7 kB / 1.17 GB, free: 2.301 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008286/1.093, allocations: 0.8351 MB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/1.094, allocations: 481 kB / 1.171 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/1.094, allocations: 109.7 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.094, allocations: 361.9 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/1.096, allocations: 0.6116 MB / 1.172 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/1.097, allocations: 0.8286 MB / 1.173 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002614/1.1, allocations: 1.376 MB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.1, allocations: 4 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00433/1.104, allocations: 1.854 MB / 1.176 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.104, allocations: 7.938 kB / 1.176 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.104, allocations: 0 / 1.176 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/1.105, allocations: 216.2 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/1.107, allocations: 339.5 kB / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/1.113, allocations: 6.811 MB / 1.184 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/1.115, allocations: 194.8 kB / 1.184 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/1.115, allocations: 59.95 kB / 1.184 GB, free: 3.441 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 (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.001301/1.116, allocations: 491.1 kB / 1.184 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/1.117, allocations: 177.8 kB / 1.184 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/1.122, allocations: 2.172 MB / 1.187 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.122, allocations: 19.94 kB / 1.187 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/1.122, allocations: 0 / 1.187 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/1.122, allocations: 7.969 kB / 1.187 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008166/1.13, allocations: 4.032 MB / 1.191 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.13, allocations: 0 / 1.191 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.132, allocations: 319.6 kB / 1.191 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009886/1.133, allocations: 216 kB / 1.191 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.133, allocations: 43.91 kB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006021/1.139, allocations: 6.854 MB / 1.198 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.139, allocations: 0 / 1.198 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004884/1.144, allocations: 2.033 MB / 1.2 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.145, allocations: 490.2 kB / 1.2 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004473/1.146, allocations: 31.94 kB / 1.2 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.147, allocations: 150.9 kB / 1.2 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002949/1.148, allocations: 117.1 kB / 1.201 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.148, allocations: 71.95 kB / 1.201 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002112/1.15, allocations: 1.301 MB / 1.202 GB, free: 108 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.15, allocations: 0 / 1.202 GB, free: 108 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00241/1.153, allocations: 0.6587 MB / 1.203 GB, free: 15.45 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.002194/1.155, allocations: 0.7504 MB / 1.203 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004096/1.159, allocations: 2.121 MB / 1.205 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.159, allocations: 8.609 kB / 1.205 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/1.161, allocations: 1.442 MB / 1.207 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.165, allocations: 0.4888 MB / 1.207 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009837/1.174, allocations: 4.757 MB / 1.212 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.176, allocations: 1.496 MB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/1.177, allocations: 191.3 kB / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of SimCode: time 1.403e-06/1.177, allocations: 0 / 1.214 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of Templates: time 0.5995/1.777, allocations: 66.67 MB / 1.279 GB, free: 264.7 MB / 0.9981 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