Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001044/0.001045, allocations: 98.27 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.008669/0.008669, allocations: 169 kB / 16.26 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 8.281 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7847, allocations: 153.8 MB / 1.023 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1838/0.9686, allocations: 163.9 MB / 1.183 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02301/0.9917, allocations: 17.17 MB / 1.2 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.9935, allocations: 27.81 kB / 1.2 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.9956, allocations: 493 kB / 1.2 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005535/1.001, allocations: 1.591 MB / 1.202 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/1.005, allocations: 1.277 MB / 1.203 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004253/1.01, allocations: 3.12 MB / 1.206 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/1.013, allocations: 1.66 MB / 1.208 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005358/1.018, allocations: 1.113 MB / 1.209 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/1.02, allocations: 0.9019 MB / 1.21 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004511/1.02, allocations: 52 kB / 1.21 GB, free: 16 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/1.024, allocations: 1.516 MB / 1.211 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009302/1.024, allocations: 0.5838 MB / 1.212 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/1.026, allocations: 1.011 MB / 1.213 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005324/1.031, allocations: 3.406 MB / 1.216 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.032, allocations: 3.938 kB / 1.216 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.436e-06/1.032, allocations: 0 / 1.216 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001124/1.032, allocations: 3.938 kB / 1.216 GB, free: 9.461 MB / 0.9669 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.005647/1.037, allocations: 2.319 MB / 1.218 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/1.037, allocations: 12.03 kB / 1.218 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004378/1.042, allocations: 0.5669 MB / 1.219 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/1.045, allocations: 1.596 MB / 1.221 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/1.045, allocations: 127.4 kB / 1.221 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/1.046, allocations: 172 kB / 1.221 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/1.049, allocations: 1.968 MB / 1.223 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/1.049, allocations: 0 / 1.223 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/1.049, allocations: 72 kB / 1.223 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/1.049, allocations: 44 kB / 1.223 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/1.053, allocations: 2.14 MB / 1.225 GB, free: 288 kB / 0.9669 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.009429/1.062, allocations: 6.284 MB / 1.231 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.066, allocations: 2.129 MB / 1.233 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/1.067, allocations: 0.7803 MB / 1.234 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/1.068, allocations: 441.5 kB / 1.234 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/1.07, allocations: 1.025 MB / 1.235 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 6.161e-06/1.07, allocations: 0 / 1.235 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007125/1.077, allocations: 3.035 MB / 1.238 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.077, allocations: 201.2 kB / 1.239 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/1.079, allocations: 1.797 MB / 1.24 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/1.079, allocations: 61.7 kB / 1.24 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000767/1.08, allocations: 0.8428 MB / 1.241 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000489/1.081, allocations: 481 kB / 1.242 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.081, allocations: 109.7 kB / 1.242 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.081, allocations: 357.9 kB / 1.242 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.082, allocations: 0.6155 MB / 1.243 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.084, allocations: 0.8209 MB / 1.244 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/1.086, allocations: 1.38 MB / 1.245 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.086, allocations: 0 / 1.245 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004031/1.09, allocations: 1.858 MB / 1.247 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.09, allocations: 7.938 kB / 1.247 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.09, allocations: 3.984 kB / 1.247 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.091, allocations: 212.1 kB / 1.247 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/1.093, allocations: 351.5 kB / 1.247 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/1.099, allocations: 6.819 MB / 1.254 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.101, allocations: 198.8 kB / 1.254 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.101, allocations: 55.97 kB / 1.254 GB, free: 0.9648 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.001045/1.102, allocations: 491.9 kB / 1.255 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/1.102, allocations: 181.8 kB / 1.255 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5868/1.689, allocations: 2.161 MB / 1.257 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/1.689, allocations: 16.34 kB / 1.257 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/1.689, allocations: 1.844 kB / 1.257 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.031e-05/1.689, allocations: 8.609 kB / 1.257 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/1.699, allocations: 4.03 MB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/1.699, allocations: 3.656 kB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.701, allocations: 327.3 kB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/1.702, allocations: 210.8 kB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/1.702, allocations: 40.84 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005064/1.707, allocations: 6.856 MB / 1.268 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.707, allocations: 0 / 1.268 GB, free: 219.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/1.712, allocations: 2.025 MB / 1.27 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.714, allocations: 492.3 kB / 1.271 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.714, allocations: 32.11 kB / 1.271 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/1.716, allocations: 160.1 kB / 1.271 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/1.716, allocations: 113.4 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.716, allocations: 69.42 kB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002416/1.719, allocations: 1.292 MB / 1.272 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.719, allocations: 1.031 kB / 1.272 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002492/1.721, allocations: 0.6925 MB / 1.273 GB, free: 218.1 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.002251/1.723, allocations: 0.7539 MB / 1.274 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00415/1.728, allocations: 2.119 MB / 1.276 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.728, allocations: 2.781 kB / 1.276 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.73, allocations: 1.434 MB / 1.277 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/1.733, allocations: 0.5132 MB / 1.278 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00763/1.741, allocations: 4.739 MB / 1.282 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.742, allocations: 1.533 MB / 1.284 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002447/1.744, allocations: 0.5062 MB / 1.284 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/1.745, allocations: 171.3 kB / 1.284 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.253e-06/1.745, allocations: 4 kB / 1.284 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04924/1.794, allocations: 30.53 MB / 1.314 GB, free: 188.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches