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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009241/0.000924, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.64/2.64, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 11.98 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.773, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1761/0.9492, allocations: 163.9 MB / 1.184 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.9749, allocations: 17.16 MB / 1.201 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.9772, allocations: 31.81 kB / 1.201 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.9793, allocations: 489 kB / 1.201 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005876/0.9852, allocations: 1.581 MB / 1.203 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.9892, allocations: 1.281 MB / 1.204 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004586/0.9938, allocations: 3.113 MB / 1.207 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003151/0.997, allocations: 1.66 MB / 1.208 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/1.003, allocations: 1.122 MB / 1.21 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/1.005, allocations: 0.9097 MB / 1.21 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006106/1.006, allocations: 56 kB / 1.211 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/1.01, allocations: 1.505 MB / 1.212 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009737/1.011, allocations: 0.5877 MB / 1.213 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002018/1.013, allocations: 1.023 MB / 1.214 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004157/1.017, allocations: 2.603 MB / 1.216 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.017, allocations: 0 / 1.216 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/1.017, allocations: 0 / 1.216 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001276/1.017, allocations: 0 / 1.216 GB, free: 10.12 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.005117/1.022, allocations: 2.327 MB / 1.218 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.022, allocations: 8.031 kB / 1.218 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004064/1.026, allocations: 0.563 MB / 1.219 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/1.029, allocations: 1.596 MB / 1.22 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.03, allocations: 131.4 kB / 1.221 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/1.03, allocations: 168 kB / 1.221 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/1.034, allocations: 1.968 MB / 1.223 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.072e-05/1.034, allocations: 0 / 1.223 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/1.034, allocations: 76 kB / 1.223 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/1.034, allocations: 43.94 kB / 1.223 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003846/1.038, allocations: 2.136 MB / 1.225 GB, free: 0.9375 MB / 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.01071/1.048, allocations: 6.28 MB / 1.231 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/1.052, allocations: 2.134 MB / 1.233 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.054, allocations: 0.7842 MB / 1.234 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/1.054, allocations: 437.6 kB / 1.234 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/1.056, allocations: 1.028 MB / 1.235 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 4.699e-06/1.056, allocations: 0 / 1.235 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007495/1.064, allocations: 3.024 MB / 1.238 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.064, allocations: 201.2 kB / 1.238 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/1.067, allocations: 1.805 MB / 1.24 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003633/1.067, allocations: 53.7 kB / 1.24 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000881/1.068, allocations: 0.8468 MB / 1.241 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006433/1.069, allocations: 476.9 kB / 1.242 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/1.069, allocations: 109.7 kB / 1.242 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.069, allocations: 357.9 kB / 1.242 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.071, allocations: 0.6155 MB / 1.243 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.072, allocations: 0.8248 MB / 1.243 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/1.075, allocations: 1.376 MB / 1.245 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.075, allocations: 3.938 kB / 1.245 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004762/1.08, allocations: 1.85 MB / 1.247 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.08, allocations: 13.97 kB / 1.247 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.08, allocations: 0 / 1.247 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.081, allocations: 220 kB / 1.247 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/1.083, allocations: 339.6 kB / 1.247 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/1.089, allocations: 6.831 MB / 1.254 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/1.092, allocations: 202.8 kB / 1.254 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/1.092, allocations: 51.97 kB / 1.254 GB, free: 1.625 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.001536/1.094, allocations: 497.9 kB / 1.254 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006905/1.094, allocations: 181.8 kB / 1.255 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6447/1.739, allocations: 2.162 MB / 1.257 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.739, allocations: 15.92 kB / 1.257 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.739, allocations: 1.75 kB / 1.257 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/1.739, allocations: 8.781 kB / 1.257 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009079/1.748, allocations: 4.029 MB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.748, allocations: 0.7812 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/1.75, allocations: 322.5 kB / 1.261 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.751, allocations: 214 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.751, allocations: 42.5 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/1.756, allocations: 6.848 MB / 1.268 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.756, allocations: 0 / 1.268 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/1.762, allocations: 2.027 MB / 1.27 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/1.763, allocations: 490.3 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/1.763, allocations: 32.69 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.765, allocations: 161 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004462/1.765, allocations: 113.9 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.766, allocations: 68.91 kB / 1.271 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002736/1.768, allocations: 1.293 MB / 1.272 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.768, allocations: 4.406 kB / 1.272 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002416/1.771, allocations: 0.6924 MB / 1.273 GB, free: 217.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.001948/1.773, allocations: 0.7575 MB / 1.273 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00399/1.777, allocations: 2.124 MB / 1.276 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.777, allocations: 2.625 kB / 1.276 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002314/1.779, allocations: 1.436 MB / 1.277 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.782, allocations: 0.5069 MB / 1.277 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/1.79, allocations: 4.621 MB / 1.282 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.792, allocations: 1.494 MB / 1.283 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009403/1.792, allocations: 188.8 kB / 1.284 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.793, allocations: 0 / 1.284 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06662/1.859, allocations: 67.04 MB / 1.349 GB, free: 152.4 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/jenkins1/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