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.001334/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001497/0.001497, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.401/2.401, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8153, allocations: 140.4 MB / 0.9489 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1886/1.004, allocations: 164.9 MB / 1.11 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02543/1.029, allocations: 17.27 MB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/1.031, allocations: 27.81 kB / 1.127 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/1.034, allocations: 457.2 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005493/1.039, allocations: 1.503 MB / 1.129 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/1.043, allocations: 1.265 MB / 1.13 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003766/1.047, allocations: 2.911 MB / 1.133 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/1.05, allocations: 1.86 MB / 1.135 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005404/1.055, allocations: 1.223 MB / 1.136 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/1.057, allocations: 1.077 MB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005549/1.058, allocations: 116 kB / 1.137 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/1.061, allocations: 1.575 MB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009083/1.062, allocations: 0.693 MB / 1.139 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/1.064, allocations: 1.084 MB / 1.14 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005851/1.07, allocations: 3.446 MB / 1.144 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.07, allocations: 0 / 1.144 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/1.07, allocations: 4 kB / 1.144 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001043/1.07, allocations: 4 kB / 1.144 GB, free: 10.05 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.005388/1.075, allocations: 2.732 MB / 1.146 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.075, allocations: 12.03 kB / 1.146 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003757/1.079, allocations: 0.5512 MB / 1.147 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.081, allocations: 1.607 MB / 1.148 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.082, allocations: 131.4 kB / 1.149 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.082, allocations: 164 kB / 1.149 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003345/1.085, allocations: 1.964 MB / 1.151 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/1.085, allocations: 0 / 1.151 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.085, allocations: 76 kB / 1.151 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/1.085, allocations: 40 kB / 1.151 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/1.089, allocations: 2.113 MB / 1.153 GB, free: 0.4922 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.00908/1.098, allocations: 5.863 MB / 1.159 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/1.101, allocations: 2.14 MB / 1.161 GB, free: 8.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/1.103, allocations: 0.7725 MB / 1.161 GB, free: 7.379 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/1.103, allocations: 429.6 kB / 1.162 GB, free: 6.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00181/1.105, allocations: 1.021 MB / 1.163 GB, free: 5.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 2.986e-06/1.105, allocations: 0 / 1.163 GB, free: 5.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006926/1.112, allocations: 2.977 MB / 1.166 GB, free: 2.754 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.112, allocations: 201.2 kB / 1.166 GB, free: 2.516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/1.115, allocations: 1.808 MB / 1.168 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/1.115, allocations: 61.69 kB / 1.168 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007545/1.116, allocations: 0.839 MB / 1.169 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/1.116, allocations: 481 kB / 1.169 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004359/1.116, allocations: 258.7 kB / 1.169 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.117, allocations: 357.9 kB / 1.17 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/1.118, allocations: 0.6038 MB / 1.17 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/1.119, allocations: 0.813 MB / 1.171 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/1.122, allocations: 1.36 MB / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.122, allocations: 0 / 1.172 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003968/1.126, allocations: 1.838 MB / 1.174 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.126, allocations: 15.88 kB / 1.174 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/1.126, allocations: 0 / 1.174 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.127, allocations: 204.2 kB / 1.174 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.128, allocations: 343.5 kB / 1.175 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/1.134, allocations: 6.799 MB / 1.181 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.136, allocations: 184.9 kB / 1.181 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.136, allocations: 55.97 kB / 1.181 GB, free: 1.715 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.0009316/1.137, allocations: 491.1 kB / 1.182 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/1.137, allocations: 177.8 kB / 1.182 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/1.142, allocations: 2.148 MB / 1.184 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.142, allocations: 16 kB / 1.184 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.142, allocations: 3.984 kB / 1.184 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/1.142, allocations: 7.984 kB / 1.184 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/1.148, allocations: 4.016 MB / 1.188 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.148, allocations: 0 / 1.188 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.15, allocations: 323.6 kB / 1.188 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009634/1.151, allocations: 208.1 kB / 1.189 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.151, allocations: 47.89 kB / 1.189 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/1.157, allocations: 6.846 MB / 1.195 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.157, allocations: 0 / 1.195 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/1.161, allocations: 2.006 MB / 1.197 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007436/1.162, allocations: 470.3 kB / 1.198 GB, free: 132 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/1.162, allocations: 43.92 kB / 1.198 GB, free: 88 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.163, allocations: 126.6 kB / 1.198 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.164, allocations: 117 kB / 1.198 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.164, allocations: 71.94 kB / 1.198 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001671/1.165, allocations: 1.289 MB / 1.199 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.165, allocations: 0 / 1.199 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001686/1.167, allocations: 0.6625 MB / 1.2 GB, free: 13.83 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.001773/1.169, allocations: 0.752 MB / 1.201 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003848/1.173, allocations: 2.102 MB / 1.203 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.173, allocations: 8.609 kB / 1.203 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002217/1.175, allocations: 1.422 MB / 1.204 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.177, allocations: 0.4909 MB / 1.205 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/1.185, allocations: 4.831 MB / 1.209 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.186, allocations: 1.533 MB / 1.211 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001961/1.188, allocations: 0.4929 MB / 1.211 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/1.189, allocations: 171.4 kB / 1.212 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of SimCode: time 1.312e-06/1.189, allocations: 3.938 kB / 1.212 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.05385/1.243, allocations: 30.05 MB / 1.241 GB, free: 4.277 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/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