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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 180 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.895/1.895, allocations: 223.2 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.27 kB / 0.9396 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 11.84 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.154, allocations: 1.939 GB / 3.168 GB, free: 13.58 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/5.154, allocations: 92.33 kB / 3.168 GB, free: 13.53 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.388/6.542, allocations: 326.4 MB / 3.487 GB, free: 162.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.344e-06/6.542, allocations: 0 / 3.487 GB, free: 162.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000228/6.542, allocations: 55.94 kB / 3.487 GB, free: 162.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.00675/6.549, allocations: 2.607 MB / 3.49 GB, free: 159.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/6.549, allocations: 12.52 kB / 3.49 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003996/6.553, allocations: 0.5551 MB / 3.49 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/6.557, allocations: 2.184 MB / 3.493 GB, free: 156.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/6.557, allocations: 127.3 kB / 3.493 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/6.557, allocations: 172 kB / 3.493 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/6.56, allocations: 1.861 MB / 3.495 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/6.56, allocations: 0 / 3.495 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/6.561, allocations: 76 kB / 3.495 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/6.561, allocations: 44 kB / 3.495 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/6.563, allocations: 2.03 MB / 3.497 GB, free: 152.3 MB / 1.167 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.008286/6.572, allocations: 6.202 MB / 3.503 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/6.574, allocations: 2.011 MB / 3.505 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/6.575, allocations: 417.7 kB / 3.505 GB, free: 143.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/6.576, allocations: 0.9464 MB / 3.506 GB, free: 142.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 3.036e-06/6.576, allocations: 8 kB / 3.506 GB, free: 142.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006075/6.582, allocations: 2.87 MB / 3.509 GB, free: 139.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/6.582, allocations: 244.6 kB / 3.509 GB, free: 139.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/6.585, allocations: 2.457 MB / 3.511 GB, free: 136.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/6.586, allocations: 61.64 kB / 3.512 GB, free: 136.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005798/6.586, allocations: 0.8747 MB / 3.512 GB, free: 135.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/6.587, allocations: 461.3 kB / 3.513 GB, free: 135.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/6.587, allocations: 20 kB / 3.513 GB, free: 135.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.217e-05/6.587, allocations: 349.9 kB / 3.513 GB, free: 134.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/6.588, allocations: 0.5452 MB / 3.514 GB, free: 134.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/6.589, allocations: 0.7592 MB / 3.514 GB, free: 133.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/6.59, allocations: 0.6248 MB / 3.515 GB, free: 132.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/6.59, allocations: 0 / 3.515 GB, free: 132.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00349/6.593, allocations: 1.701 MB / 3.517 GB, free: 131.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/6.593, allocations: 8 kB / 3.517 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/6.593, allocations: 0 / 3.517 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/6.594, allocations: 220.1 kB / 3.517 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/6.596, allocations: 307.6 kB / 3.517 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/6.6, allocations: 6.851 MB / 3.524 GB, free: 123 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/6.602, allocations: 170.9 kB / 3.524 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/6.602, allocations: 67.97 kB / 3.524 GB, free: 122.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001249/6.603, allocations: 481 kB / 3.525 GB, free: 122.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005956/6.604, allocations: 181.8 kB / 3.525 GB, free: 122.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/6.608, allocations: 2.149 MB / 3.527 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/6.608, allocations: 16 kB / 3.527 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/6.608, allocations: 0 / 3.527 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/6.608, allocations: 11.92 kB / 3.527 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007908/6.616, allocations: 4.26 MB / 3.531 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/6.616, allocations: 0 / 3.531 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/6.618, allocations: 335.6 kB / 3.531 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008565/6.619, allocations: 208.1 kB / 3.532 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/6.619, allocations: 43.97 kB / 3.532 GB, free: 115 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/6.623, allocations: 6.882 MB / 3.538 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/6.623, allocations: 3.984 kB / 3.538 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/6.627, allocations: 1.909 MB / 3.54 GB, free: 105.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/6.628, allocations: 0.666 MB / 3.541 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/6.629, allocations: 28 kB / 3.541 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/6.63, allocations: 143.6 kB / 3.541 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/6.631, allocations: 109.2 kB / 3.541 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/6.631, allocations: 87.92 kB / 3.541 GB, free: 104.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002999/6.634, allocations: 1.94 MB / 3.543 GB, free: 102.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.91e-07/6.634, allocations: 4 kB / 3.543 GB, free: 102.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003273/6.637, allocations: 0.8263 MB / 3.544 GB, free: 101.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003324/6.641, allocations: 1.697 MB / 3.546 GB, free: 100.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002857/6.643, allocations: 1.918 MB / 3.547 GB, free: 98.19 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/6.643, allocations: 4.5 kB / 3.547 GB, free: 98.18 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/6.645, allocations: 1.352 MB / 3.549 GB, free: 96.77 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/6.647, allocations: 476.7 kB / 3.549 GB, free: 96.31 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008012/6.655, allocations: 4.528 MB / 3.554 GB, free: 91.76 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/6.657, allocations: 1.556 MB / 3.555 GB, free: 90.17 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002828/6.659, allocations: 0.6646 MB / 3.556 GB, free: 89.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009767/6.66, allocations: 243.2 kB / 3.556 GB, free: 89.26 MB / 1.167 GB Notification: Performance of SimCode: time 7.62e-07/6.66, allocations: 0 / 3.556 GB, free: 89.26 MB / 1.167 GB Notification: Performance of Templates: time 0.0631/6.724, allocations: 47.03 MB / 3.602 GB, free: 42.45 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches