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.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001081/0.001081, allocations: 188.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009251/0.0009252, allocations: 91.14 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.138e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3425, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.299/6.642, allocations: 1.939 GB / 3.158 GB, free: 374 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/6.642, allocations: 83.95 kB / 3.158 GB, free: 374 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.6949/7.337, allocations: 325.9 MB / 3.476 GB, free: 42.79 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.374e-06/7.337, allocations: 0 / 3.476 GB, free: 42.79 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000332/7.337, allocations: 51.94 kB / 3.476 GB, free: 42.74 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.006526/7.344, allocations: 2.118 MB / 3.478 GB, free: 40.56 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/7.344, allocations: 12.02 kB / 3.478 GB, free: 40.55 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/7.349, allocations: 0.5512 MB / 3.479 GB, free: 40 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005359/7.354, allocations: 2.169 MB / 3.481 GB, free: 37.78 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/7.354, allocations: 127.3 kB / 3.481 GB, free: 37.65 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000662/7.355, allocations: 168 kB / 3.481 GB, free: 37.49 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/7.36, allocations: 1.787 MB / 3.483 GB, free: 35.65 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/7.36, allocations: 4 kB / 3.483 GB, free: 35.64 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/7.36, allocations: 72 kB / 3.483 GB, free: 35.57 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/7.361, allocations: 40 kB / 3.483 GB, free: 35.54 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/7.364, allocations: 1.906 MB / 3.485 GB, free: 33.62 MB / 1.167 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.01332/7.377, allocations: 6.202 MB / 3.491 GB, free: 27.21 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/7.38, allocations: 1.879 MB / 3.493 GB, free: 25.26 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/7.381, allocations: 0.6752 MB / 3.494 GB, free: 24.58 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006588/7.382, allocations: 429.7 kB / 3.494 GB, free: 24.09 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/7.384, allocations: 0.8763 MB / 3.495 GB, free: 23.19 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 5.681e-06/7.384, allocations: 0 / 3.495 GB, free: 23.19 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.004257/7.388, allocations: 1.627 MB / 3.496 GB, free: 21.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/7.388, allocations: 244.6 kB / 3.497 GB, free: 21.25 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/7.393, allocations: 2.43 MB / 3.499 GB, free: 18.81 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/7.393, allocations: 53.7 kB / 3.499 GB, free: 18.75 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/7.394, allocations: 0.8746 MB / 3.5 GB, free: 17.87 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/7.395, allocations: 457.3 kB / 3.5 GB, free: 17.41 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/7.395, allocations: 24 kB / 3.5 GB, free: 17.39 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001296/7.395, allocations: 353.9 kB / 3.501 GB, free: 17.04 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/7.396, allocations: 494.4 kB / 3.501 GB, free: 16.55 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/7.397, allocations: 0.6984 MB / 3.502 GB, free: 15.79 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/7.398, allocations: 0.5719 MB / 3.502 GB, free: 15.22 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/7.398, allocations: 3.938 kB / 3.502 GB, free: 15.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004002/7.402, allocations: 1.584 MB / 3.504 GB, free: 13.61 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/7.402, allocations: 8 kB / 3.504 GB, free: 13.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/7.402, allocations: 0 / 3.504 GB, free: 13.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/7.403, allocations: 216.1 kB / 3.504 GB, free: 13.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/7.404, allocations: 315.6 kB / 3.505 GB, free: 13.07 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005064/7.409, allocations: 6.788 MB / 3.511 GB, free: 5.602 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/7.412, allocations: 178.9 kB / 3.511 GB, free: 5.426 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000299/7.412, allocations: 67.95 kB / 3.511 GB, free: 5.359 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 () * 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.0005574/7.412, allocations: 182 kB / 3.512 GB, free: 5.176 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009057/7.413, allocations: 185.7 kB / 3.512 GB, free: 4.992 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/7.418, allocations: 2.031 MB / 3.514 GB, free: 2.93 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/7.418, allocations: 15.94 kB / 3.514 GB, free: 2.914 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/7.418, allocations: 7.953 kB / 3.514 GB, free: 2.906 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/7.418, allocations: 11.97 kB / 3.514 GB, free: 2.895 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9037/8.322, allocations: 4.122 MB / 3.518 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/8.322, allocations: 2.203 kB / 3.518 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/8.324, allocations: 325.2 kB / 3.518 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009785/8.325, allocations: 208 kB / 3.518 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/8.325, allocations: 45.47 kB / 3.518 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/8.33, allocations: 6.828 MB / 3.525 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/8.33, allocations: 0 / 3.525 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004636/8.335, allocations: 1.793 MB / 3.527 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/8.337, allocations: 0.6674 MB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/8.337, allocations: 28.66 kB / 3.527 GB, free: 303.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/8.339, allocations: 136 kB / 3.528 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/8.339, allocations: 105.8 kB / 3.528 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/8.339, allocations: 85.69 kB / 3.528 GB, free: 303.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004669/8.344, allocations: 1.919 MB / 3.53 GB, free: 303 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/8.344, allocations: 0 / 3.53 GB, free: 303 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005214/8.349, allocations: 0.8289 MB / 3.53 GB, free: 303 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) * 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.005256/8.355, allocations: 1.659 MB / 3.532 GB, free: 302.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004556/8.359, allocations: 1.794 MB / 3.534 GB, free: 302.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/8.359, allocations: 2.125 kB / 3.534 GB, free: 302.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/8.361, allocations: 1.28 MB / 3.535 GB, free: 301.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/8.365, allocations: 473.4 kB / 3.536 GB, free: 301.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00803/8.373, allocations: 2.978 MB / 3.538 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/8.374, allocations: 1.555 MB / 3.54 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003035/8.377, allocations: 0.6581 MB / 3.541 GB, free: 300.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008406/8.378, allocations: 242.5 kB / 3.541 GB, free: 300.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/8.378, allocations: 4.875 kB / 3.541 GB, free: 300.1 MB / 1.167 GB Notification: Performance of Templates: time 0.1103/8.489, allocations: 50.02 MB / 3.59 GB, free: 298.5 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