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.001667/0.001667, allocations: 108 kB / 15.61 MB, free: 152 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.002089/0.002089, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.446/2.446, allocations: 390.2 MB / 0.6646 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.89 kB / 0.8125 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7835, allocations: 140.4 MB / 0.9496 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1908/0.9743, allocations: 167.2 MB / 1.113 GB, free: 10 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.9969, allocations: 17.21 MB / 1.13 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.999, allocations: 31.81 kB / 1.13 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/1.001, allocations: 0.5313 MB / 1.13 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008276/1.01, allocations: 1.679 MB / 1.132 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/1.015, allocations: 1.413 MB / 1.133 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004895/1.02, allocations: 2.67 MB / 1.136 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/1.023, allocations: 1.998 MB / 1.138 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/1.028, allocations: 1.394 MB / 1.139 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/1.03, allocations: 1.085 MB / 1.14 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003683/1.03, allocations: 224 kB / 1.14 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/1.033, allocations: 1.521 MB / 1.142 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007241/1.034, allocations: 0.7946 MB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.035, allocations: 1.181 MB / 1.144 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/1.041, allocations: 3.474 MB / 1.147 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.041, allocations: 0 / 1.147 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.262e-06/1.041, allocations: 0 / 1.147 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.169e-05/1.041, allocations: 0 / 1.147 GB, free: 6.711 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.004577/1.046, allocations: 2.739 MB / 1.15 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.046, allocations: 8.031 kB / 1.15 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/1.049, allocations: 0.5551 MB / 1.15 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/1.051, allocations: 1.596 MB / 1.152 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/1.051, allocations: 135.4 kB / 1.152 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.052, allocations: 172 kB / 1.152 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/1.055, allocations: 1.956 MB / 1.154 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/1.055, allocations: 3.938 kB / 1.154 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.055, allocations: 72 kB / 1.154 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/1.055, allocations: 40 kB / 1.154 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/1.059, allocations: 2.117 MB / 1.156 GB, free: 13.15 MB / 0.92 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.0101/1.069, allocations: 5.863 MB / 1.162 GB, free: 7.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/1.072, allocations: 2.139 MB / 1.164 GB, free: 4.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/1.074, allocations: 0.7725 MB / 1.165 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/1.074, allocations: 433.6 kB / 1.165 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/1.076, allocations: 1.013 MB / 1.166 GB, free: 2.508 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 3.227e-06/1.076, allocations: 0 / 1.166 GB, free: 2.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.007113/1.083, allocations: 2.981 MB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.084, allocations: 201.2 kB / 1.169 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/1.086, allocations: 1.805 MB / 1.171 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/1.086, allocations: 57.7 kB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007753/1.087, allocations: 0.8468 MB / 1.172 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/1.088, allocations: 481 kB / 1.173 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/1.088, allocations: 254.7 kB / 1.173 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.088, allocations: 361.9 kB / 1.173 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.089, allocations: 0.6038 MB / 1.174 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/1.091, allocations: 0.8169 MB / 1.175 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/1.093, allocations: 1.349 MB / 1.176 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/1.093, allocations: 7.922 kB / 1.176 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004235/1.097, allocations: 1.827 MB / 1.178 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.097, allocations: 19.94 kB / 1.178 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.097, allocations: 0 / 1.178 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.099, allocations: 216 kB / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.1, allocations: 339.5 kB / 1.178 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/1.107, allocations: 7.316 MB / 1.185 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/1.109, allocations: 168.1 kB / 1.186 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.109, allocations: 59.95 kB / 1.186 GB, free: 13.83 MB / 0.9512 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.0009849/1.11, allocations: 483.1 kB / 1.186 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/1.111, allocations: 181.8 kB / 1.186 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/1.115, allocations: 2.152 MB / 1.188 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.115, allocations: 16 kB / 1.188 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.115, allocations: 0 / 1.188 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.115, allocations: 16 kB / 1.188 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007445/1.123, allocations: 4.013 MB / 1.192 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.123, allocations: 3.938 kB / 1.192 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/1.125, allocations: 315.6 kB / 1.193 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/1.126, allocations: 204.1 kB / 1.193 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/1.126, allocations: 39.97 kB / 1.193 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/1.133, allocations: 7.36 MB / 1.2 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.133, allocations: 3.938 kB / 1.2 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/1.137, allocations: 2.014 MB / 1.202 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/1.138, allocations: 474.3 kB / 1.202 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/1.138, allocations: 31.91 kB / 1.202 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.14, allocations: 113 kB / 1.203 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/1.14, allocations: 109.2 kB / 1.203 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.14, allocations: 71.94 kB / 1.203 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001729/1.142, allocations: 1.289 MB / 1.204 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.11e-07/1.142, allocations: 0 / 1.204 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001891/1.144, allocations: 0.6586 MB / 1.205 GB, free: 9.43 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.00186/1.146, allocations: 0.76 MB / 1.205 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005539/1.151, allocations: 2.539 MB / 1.208 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.151, allocations: 4.547 kB / 1.208 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.153, allocations: 1.426 MB / 1.209 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.156, allocations: 0.5304 MB / 1.21 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007713/1.164, allocations: 3.998 MB / 1.214 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.165, allocations: 1.525 MB / 1.215 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001918/1.167, allocations: 0.4928 MB / 1.216 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000474/1.167, allocations: 175.3 kB / 1.216 GB, free: 14 MB / 0.9825 GB Notification: Performance of SimCode: time 8.52e-07/1.167, allocations: 0 / 1.216 GB, free: 14 MB / 0.9825 GB Notification: Performance of Templates: time 0.5483/1.716, allocations: 31.27 MB / 1.246 GB, free: 279.3 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