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.001234/0.001234, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001818/0.001818, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.402 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.531/2.531, allocations: 390.9 MB / 0.666 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 12 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7584, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1773/0.9357, allocations: 151.8 MB / 1.103 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.959, allocations: 15.95 MB / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.9605, allocations: 23.81 kB / 1.118 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.9619, allocations: 381.3 kB / 1.119 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.9661, allocations: 1.326 MB / 1.12 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.9692, allocations: 1.109 MB / 1.121 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.9725, allocations: 2.579 MB / 1.124 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.9749, allocations: 1.503 MB / 1.125 GB, free: 404 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.9768, allocations: 1.012 MB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.9779, allocations: 0.8554 MB / 1.127 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.9781, allocations: 48 kB / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002548/0.9807, allocations: 1.014 MB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006089/0.9813, allocations: 0.5878 MB / 1.128 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.9818, allocations: 404.5 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.9849, allocations: 2.533 MB / 1.131 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9849, allocations: 0 / 1.131 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.837e-06/0.9849, allocations: 0 / 1.131 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.095e-05/0.9849, allocations: 0 / 1.131 GB, free: 9.926 MB / 0.8887 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.004881/0.9898, allocations: 2.315 MB / 1.134 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.9899, allocations: 8.031 kB / 1.134 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.9935, allocations: 0.5629 MB / 1.134 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.9958, allocations: 1.527 MB / 1.136 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.996, allocations: 131.4 kB / 1.136 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.9962, allocations: 172 kB / 1.136 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.9996, allocations: 1.952 MB / 1.138 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.9997, allocations: 0 / 1.138 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.9998, allocations: 79.94 kB / 1.138 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.9999, allocations: 44 kB / 1.138 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/1.004, allocations: 2.124 MB / 1.14 GB, free: 0.8438 MB / 0.8887 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.009735/1.013, allocations: 5.913 MB / 1.146 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/1.017, allocations: 2.131 MB / 1.148 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/1.018, allocations: 0.7686 MB / 1.149 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/1.019, allocations: 429.6 kB / 1.149 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/1.021, allocations: 1.025 MB / 1.15 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.947e-06/1.021, allocations: 0 / 1.15 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.007185/1.028, allocations: 3.012 MB / 1.153 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.028, allocations: 201.2 kB / 1.153 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/1.031, allocations: 1.789 MB / 1.155 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002154/1.031, allocations: 61.69 kB / 1.155 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/1.032, allocations: 0.839 MB / 1.156 GB, free: 76 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/1.033, allocations: 481 kB / 1.156 GB, free: 15.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.033, allocations: 24 kB / 1.156 GB, free: 15.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.033, allocations: 357.9 kB / 1.157 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/1.034, allocations: 0.6077 MB / 1.157 GB, free: 14.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.036, allocations: 0.8208 MB / 1.158 GB, free: 13.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/1.037, allocations: 0.6857 MB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.037, allocations: 0 / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004137/1.041, allocations: 1.846 MB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.042, allocations: 11.95 kB / 1.16 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.042, allocations: 0 / 1.16 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.043, allocations: 212.2 kB / 1.161 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.044, allocations: 347.5 kB / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/1.05, allocations: 6.804 MB / 1.168 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.052, allocations: 195.5 kB / 1.168 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/1.053, allocations: 59.89 kB / 1.168 GB, free: 2.887 MB / 0.92 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001188/1.054, allocations: 499 kB / 1.168 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/1.054, allocations: 177.8 kB / 1.169 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/1.059, allocations: 2.16 MB / 1.171 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.059, allocations: 12 kB / 1.171 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.059, allocations: 7.953 kB / 1.171 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/1.059, allocations: 8.031 kB / 1.171 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007738/1.067, allocations: 4.018 MB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.067, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.069, allocations: 319.6 kB / 1.175 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009207/1.07, allocations: 216 kB / 1.175 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.07, allocations: 43.95 kB / 1.175 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005564/1.075, allocations: 6.835 MB / 1.182 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.075, allocations: 0 / 1.182 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/1.08, allocations: 2.021 MB / 1.184 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/1.081, allocations: 498.1 kB / 1.184 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/1.081, allocations: 28 kB / 1.184 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.083, allocations: 146.5 kB / 1.184 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.083, allocations: 121.3 kB / 1.185 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.083, allocations: 71.94 kB / 1.185 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001931/1.085, allocations: 1.278 MB / 1.186 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.085, allocations: 0 / 1.186 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001968/1.087, allocations: 0.6664 MB / 1.186 GB, free: 14.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/1.089, allocations: 0.7466 MB / 1.187 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003572/1.093, allocations: 2.129 MB / 1.189 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.093, allocations: 4.547 kB / 1.189 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/1.095, allocations: 1.426 MB / 1.191 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.097, allocations: 0.4939 MB / 1.191 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008416/1.106, allocations: 4.748 MB / 1.196 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/1.107, allocations: 1.533 MB / 1.197 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002121/1.109, allocations: 0.4929 MB / 1.198 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.11, allocations: 171.3 kB / 1.198 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/1.11, allocations: 0 / 1.198 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of Templates: time 0.0516/1.161, allocations: 28.88 MB / 1.226 GB, free: 6.621 MB / 0.9825 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/jenkins/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