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.001647/0.001647, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002718/0.002718, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.366/2.366, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001387, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7715, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1998/0.9714, allocations: 164.9 MB / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.9929, allocations: 17.02 MB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.9947, allocations: 27.81 kB / 1.127 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.9963, allocations: 465.2 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004918/1.001, allocations: 1.551 MB / 1.129 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/1.005, allocations: 1.297 MB / 1.13 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003328/1.008, allocations: 2.662 MB / 1.133 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/1.011, allocations: 2.006 MB / 1.135 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/1.017, allocations: 1.396 MB / 1.136 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001633/1.018, allocations: 1.128 MB / 1.137 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/1.019, allocations: 224 kB / 1.137 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/1.022, allocations: 1.556 MB / 1.139 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007144/1.022, allocations: 0.8023 MB / 1.14 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/1.023, allocations: 1.189 MB / 1.141 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/1.028, allocations: 3.536 MB / 1.144 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.028, allocations: 0 / 1.144 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.084e-06/1.028, allocations: 0 / 1.144 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.022e-05/1.028, allocations: 3.938 kB / 1.144 GB, free: 9.621 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.004967/1.033, allocations: 2.74 MB / 1.147 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.033, allocations: 8.031 kB / 1.147 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/1.037, allocations: 0.5513 MB / 1.147 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/1.04, allocations: 1.603 MB / 1.149 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.04, allocations: 127.4 kB / 1.149 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/1.04, allocations: 172 kB / 1.149 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/1.044, allocations: 1.968 MB / 1.151 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/1.044, allocations: 4 kB / 1.151 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/1.044, allocations: 72 kB / 1.151 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/1.045, allocations: 40 kB / 1.151 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/1.048, allocations: 2.113 MB / 1.153 GB, free: 60 kB / 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.01022/1.058, allocations: 5.849 MB / 1.159 GB, free: 9.945 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/1.062, allocations: 2.136 MB / 1.161 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/1.063, allocations: 0.7725 MB / 1.162 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006385/1.064, allocations: 433.6 kB / 1.162 GB, free: 6.461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/1.066, allocations: 1.017 MB / 1.163 GB, free: 5.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.436e-06/1.066, allocations: 4 kB / 1.163 GB, free: 5.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007144/1.073, allocations: 2.977 MB / 1.166 GB, free: 2.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.073, allocations: 193.2 kB / 1.166 GB, free: 2.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/1.076, allocations: 1.812 MB / 1.168 GB, free: 280 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002213/1.076, allocations: 61.7 kB / 1.168 GB, free: 212 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/1.077, allocations: 0.839 MB / 1.169 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/1.077, allocations: 481 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/1.078, allocations: 258.7 kB / 1.17 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.078, allocations: 361.9 kB / 1.17 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.079, allocations: 0.6038 MB / 1.171 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.081, allocations: 0.8169 MB / 1.171 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/1.083, allocations: 1.36 MB / 1.173 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.083, allocations: 0 / 1.173 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004479/1.088, allocations: 1.838 MB / 1.175 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/1.088, allocations: 7.938 kB / 1.175 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.088, allocations: 4 kB / 1.175 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.089, allocations: 208.2 kB / 1.175 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.09, allocations: 343.5 kB / 1.175 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/1.097, allocations: 7.312 MB / 1.182 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/1.099, allocations: 178.8 kB / 1.182 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/1.099, allocations: 59.95 kB / 1.183 GB, free: 0.7383 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.001322/1.101, allocations: 487.2 kB / 1.183 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005063/1.101, allocations: 181.8 kB / 1.183 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004885/1.106, allocations: 2.148 MB / 1.185 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.106, allocations: 16 kB / 1.185 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.106, allocations: 0 / 1.185 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.106, allocations: 11.97 kB / 1.185 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007378/1.114, allocations: 4.016 MB / 1.189 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.114, allocations: 3.938 kB / 1.189 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.115, allocations: 323.6 kB / 1.19 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009366/1.116, allocations: 200.1 kB / 1.19 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/1.116, allocations: 43.95 kB / 1.19 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006333/1.123, allocations: 7.356 MB / 1.197 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.123, allocations: 7.875 kB / 1.197 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/1.127, allocations: 2.01 MB / 1.199 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/1.128, allocations: 470.3 kB / 1.199 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/1.129, allocations: 31.91 kB / 1.199 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.13, allocations: 133.6 kB / 1.2 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/1.13, allocations: 113.2 kB / 1.2 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.131, allocations: 63.95 kB / 1.2 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001919/1.133, allocations: 1.297 MB / 1.201 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.3e-07/1.133, allocations: 0 / 1.201 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002263/1.135, allocations: 0.6624 MB / 1.202 GB, free: 12.31 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.0022/1.137, allocations: 0.7533 MB / 1.202 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005748/1.143, allocations: 2.543 MB / 1.205 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.143, allocations: 8.609 kB / 1.205 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/1.145, allocations: 1.422 MB / 1.206 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.148, allocations: 0.5393 MB / 1.207 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008458/1.156, allocations: 4.823 MB / 1.211 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/1.157, allocations: 1.533 MB / 1.213 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002137/1.159, allocations: 0.4929 MB / 1.213 GB, free: 208 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/1.16, allocations: 171.4 kB / 1.214 GB, free: 36 kB / 0.9669 GB Notification: Performance of SimCode: time 2.365e-06/1.16, allocations: 0 / 1.214 GB, free: 36 kB / 0.9669 GB Notification: Performance of Templates: time 0.05536/1.215, allocations: 31.11 MB / 1.244 GB, free: 1.254 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