Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009964/0.0009965, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008199/0.008199, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.438/1.438, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 443.3 MB / 0.7175 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003607, allocations: 11.31 kB / 0.8796 GB, free: 41.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2839, allocations: 155.2 MB / 1.031 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.176/0.46, allocations: 163.9 MB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.482, allocations: 17.16 MB / 1.208 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.4835, allocations: 27.81 kB / 1.208 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.4849, allocations: 489 kB / 1.208 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.4897, allocations: 1.597 MB / 1.21 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.493, allocations: 1.281 MB / 1.211 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003838/0.4968, allocations: 3.097 MB / 1.214 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/0.4992, allocations: 1.671 MB / 1.216 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.5043, allocations: 1.111 MB / 1.217 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.5059, allocations: 0.9074 MB / 1.218 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.5062, allocations: 52 kB / 1.218 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.5094, allocations: 1.509 MB / 1.219 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007269/0.5102, allocations: 0.5877 MB / 1.22 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.5117, allocations: 1.027 MB / 1.221 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00492/0.5166, allocations: 3.41 MB / 1.224 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5167, allocations: 0 / 1.224 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5167, allocations: 3.938 kB / 1.224 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000109/0.5168, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9825 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.004693/0.5215, allocations: 2.315 MB / 1.227 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5215, allocations: 11.98 kB / 1.227 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/0.5254, allocations: 0.5591 MB / 1.227 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.5281, allocations: 1.607 MB / 1.229 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.5282, allocations: 131.4 kB / 1.229 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.5286, allocations: 168 kB / 1.229 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.5326, allocations: 1.968 MB / 1.231 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.5327, allocations: 0 / 1.231 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.5329, allocations: 80 kB / 1.231 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.5329, allocations: 40 kB / 1.231 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/0.537, allocations: 2.136 MB / 1.233 GB, free: 4.645 MB / 0.9825 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.01272/0.5497, allocations: 6.276 MB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.5537, allocations: 2.152 MB / 1.241 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.5552, allocations: 0.7764 MB / 1.242 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/0.5558, allocations: 433.6 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001955/0.5578, allocations: 1.029 MB / 1.243 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.789e-06/0.5578, allocations: 3.938 kB / 1.243 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.007275/0.5651, allocations: 3.032 MB / 1.246 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.5653, allocations: 201.2 kB / 1.247 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.5681, allocations: 1.797 MB / 1.248 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/0.5683, allocations: 61.7 kB / 1.248 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/0.5691, allocations: 0.8466 MB / 1.249 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.5695, allocations: 481 kB / 1.25 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.5697, allocations: 101.7 kB / 1.25 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5699, allocations: 361.9 kB / 1.25 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5712, allocations: 0.6194 MB / 1.251 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.5726, allocations: 0.817 MB / 1.252 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6366/1.209, allocations: 1.372 MB / 1.253 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/1.209, allocations: 0.75 kB / 1.253 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003908/1.213, allocations: 1.854 MB / 1.255 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.213, allocations: 9.906 kB / 1.255 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.213, allocations: 0 / 1.255 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.214, allocations: 215.3 kB / 1.255 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.216, allocations: 343.3 kB / 1.255 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005108/1.221, allocations: 6.814 MB / 1.262 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/1.223, allocations: 200.9 kB / 1.262 GB, free: 210.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/1.223, allocations: 56.84 kB / 1.262 GB, free: 210.5 MB / 0.9981 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.001195/1.224, allocations: 497.7 kB / 1.263 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/1.225, allocations: 183.1 kB / 1.263 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/1.23, allocations: 2.163 MB / 1.265 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.23, allocations: 15.8 kB / 1.265 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.23, allocations: 4.156 kB / 1.265 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/1.23, allocations: 8.281 kB / 1.265 GB, free: 210.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008647/1.239, allocations: 4.029 MB / 1.269 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/1.239, allocations: 4.531 kB / 1.269 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.241, allocations: 325.4 kB / 1.269 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009835/1.242, allocations: 212.5 kB / 1.269 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.242, allocations: 41.77 kB / 1.269 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/1.247, allocations: 6.852 MB / 1.276 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.247, allocations: 3.906 kB / 1.276 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/1.252, allocations: 2.027 MB / 1.278 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/1.253, allocations: 489.3 kB / 1.279 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.253, allocations: 34.84 kB / 1.279 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.255, allocations: 155.6 kB / 1.279 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/1.255, allocations: 118.5 kB / 1.279 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.255, allocations: 72.5 kB / 1.279 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001912/1.257, allocations: 1.291 MB / 1.28 GB, free: 201 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.257, allocations: 0.9688 kB / 1.28 GB, free: 201 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002236/1.26, allocations: 0.6833 MB / 1.281 GB, free: 200.9 MB / 0.9981 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.001853/1.261, allocations: 0.7565 MB / 1.282 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004776/1.266, allocations: 2.126 MB / 1.284 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/1.266, allocations: 5.875 kB / 1.284 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002883/1.269, allocations: 1.43 MB / 1.285 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/1.273, allocations: 0.5117 MB / 1.286 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/1.28, allocations: 4.734 MB / 1.29 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/1.281, allocations: 1.533 MB / 1.292 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002323/1.283, allocations: 0.4987 MB / 1.292 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/1.284, allocations: 172 kB / 1.292 GB, free: 195 MB / 0.9981 GB Notification: Performance of SimCode: time 1.583e-06/1.284, allocations: 0 / 1.292 GB, free: 195 MB / 0.9981 GB Notification: Performance of Templates: time 0.04767/1.331, allocations: 30.54 MB / 1.322 GB, free: 170.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches