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.263/2.263, allocations: 390.5 MB / 398 MB, free: 10.93 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.001311/0.001311, allocations: 168.9 kB / 491.2 MB, free: 1.598 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.62/1.62, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008312/0.0008312, allocations: 98.66 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 7.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3145, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.538/5.852, allocations: 1.939 GB / 3.151 GB, free: 390.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/5.853, allocations: 87.95 kB / 3.151 GB, free: 390.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6681/6.521, allocations: 322.6 MB / 3.466 GB, free: 62.28 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.604e-06/6.521, allocations: 0 / 3.466 GB, free: 62.28 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002647/6.521, allocations: 48 kB / 3.466 GB, free: 62.23 MB / 1.151 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.005396/6.526, allocations: 2.114 MB / 3.468 GB, free: 60.06 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/6.527, allocations: 12.03 kB / 3.468 GB, free: 60.05 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004066/6.531, allocations: 0.5551 MB / 3.469 GB, free: 59.49 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004139/6.535, allocations: 2.173 MB / 3.471 GB, free: 57.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.133e-05/6.535, allocations: 56 kB / 3.471 GB, free: 57.21 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/6.535, allocations: 99.95 kB / 3.471 GB, free: 57.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002902/6.538, allocations: 1.814 MB / 3.473 GB, free: 55.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/6.541, allocations: 1.554 MB / 3.474 GB, free: 53.69 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/6.541, allocations: 3.938 kB / 3.474 GB, free: 53.69 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/6.541, allocations: 4 kB / 3.474 GB, free: 53.68 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/6.541, allocations: 40 kB / 3.474 GB, free: 53.64 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008791/6.55, allocations: 5.888 MB / 3.48 GB, free: 47.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/6.552, allocations: 1.804 MB / 3.482 GB, free: 45.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/6.553, allocations: 0.6322 MB / 3.482 GB, free: 45.05 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/6.553, allocations: 421.7 kB / 3.483 GB, free: 44.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/6.554, allocations: 0.8358 MB / 3.484 GB, free: 43.71 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.316e-06/6.554, allocations: 0 / 3.484 GB, free: 43.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.00324/6.558, allocations: 1.545 MB / 3.485 GB, free: 42.14 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/6.558, allocations: 252.6 kB / 3.485 GB, free: 41.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/6.56, allocations: 2.257 MB / 3.487 GB, free: 39.57 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/6.56, allocations: 25.7 kB / 3.488 GB, free: 39.54 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/6.561, allocations: 0.8855 MB / 3.488 GB, free: 38.64 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/6.561, allocations: 441.3 kB / 3.489 GB, free: 38.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/6.561, allocations: 3.938 kB / 3.489 GB, free: 38.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/6.561, allocations: 349.9 kB / 3.489 GB, free: 37.85 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/6.562, allocations: 474.4 kB / 3.49 GB, free: 37.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/6.563, allocations: 0.6709 MB / 3.49 GB, free: 36.65 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/6.563, allocations: 0.5501 MB / 3.491 GB, free: 36.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/6.563, allocations: 4 kB / 3.491 GB, free: 36.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002573/6.566, allocations: 1.495 MB / 3.492 GB, free: 34.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/6.566, allocations: 9.094 kB / 3.492 GB, free: 34.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/6.566, allocations: 4.062 kB / 3.492 GB, free: 34.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009647/6.567, allocations: 204.1 kB / 3.492 GB, free: 34.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/6.568, allocations: 311.6 kB / 3.493 GB, free: 34.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/6.572, allocations: 6.526 MB / 3.499 GB, free: 26.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/6.574, allocations: 139.2 kB / 3.499 GB, free: 26.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/6.574, allocations: 59.97 kB / 3.499 GB, free: 26.74 MB / 1.151 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 () * 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.0003086/6.574, allocations: 133.8 kB / 3.499 GB, free: 26.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/6.574, allocations: 173.8 kB / 3.5 GB, free: 26.43 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/6.578, allocations: 1.917 MB / 3.501 GB, free: 24.48 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/6.578, allocations: 12 kB / 3.501 GB, free: 24.47 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/6.578, allocations: 4 kB / 3.501 GB, free: 24.47 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/6.578, allocations: 7.969 kB / 3.502 GB, free: 24.46 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/6.584, allocations: 3.815 MB / 3.505 GB, free: 20.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.584, allocations: 0 / 3.505 GB, free: 20.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/6.585, allocations: 335.6 kB / 3.506 GB, free: 20.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008203/6.586, allocations: 212 kB / 3.506 GB, free: 20.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/6.586, allocations: 27.95 kB / 3.506 GB, free: 20 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/6.59, allocations: 6.558 MB / 3.512 GB, free: 12.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/6.59, allocations: 0 / 3.512 GB, free: 12.87 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/6.593, allocations: 1.693 MB / 3.514 GB, free: 11.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/6.594, allocations: 0.6621 MB / 3.514 GB, free: 10.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/6.594, allocations: 0 / 3.514 GB, free: 10.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/6.595, allocations: 115.8 kB / 3.515 GB, free: 10.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/6.595, allocations: 109.2 kB / 3.515 GB, free: 10.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/6.596, allocations: 79.95 kB / 3.515 GB, free: 10.16 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00185/6.597, allocations: 1.769 MB / 3.517 GB, free: 8.391 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.8e-07/6.597, allocations: 0 / 3.517 GB, free: 8.391 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002412/6.6, allocations: 0.7598 MB / 3.517 GB, free: 7.629 MB / 1.151 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) * 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.002777/6.603, allocations: 1.765 MB / 3.519 GB, free: 5.953 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002261/6.605, allocations: 1.725 MB / 3.521 GB, free: 4.18 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/6.605, allocations: 0.5625 kB / 3.521 GB, free: 4.18 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/6.606, allocations: 1.216 MB / 3.522 GB, free: 2.914 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/6.609, allocations: 428.4 kB / 3.522 GB, free: 2.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7332/7.342, allocations: 2.891 MB / 3.525 GB, free: 295.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/7.344, allocations: 1.545 MB / 3.527 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003524/7.348, allocations: 0.652 MB / 3.527 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/7.349, allocations: 238.9 kB / 3.527 GB, free: 294.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.503e-06/7.349, allocations: 4.312 kB / 3.527 GB, free: 294.7 MB / 1.151 GB Notification: Performance of Templates: time 0.09133/7.44, allocations: 36.94 MB / 3.564 GB, free: 293.9 MB / 1.151 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