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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001379/0.001379, 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.001365/0.001365, allocations: 193.8 kB / 16.53 MB, free: 6.699 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002015, allocations: 71.88 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6609, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2181/0.8791, allocations: 168.5 MB / 1.182 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.9076, allocations: 17.35 MB / 1.199 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.91, allocations: 31.81 kB / 1.199 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.9121, allocations: 0.5739 MB / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.9192, allocations: 1.78 MB / 1.201 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004436/0.9237, allocations: 1.427 MB / 1.202 GB, free: 4.324 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004626/0.9283, allocations: 2.875 MB / 1.205 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002978/0.9313, allocations: 1.944 MB / 1.207 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004698/0.936, allocations: 1.421 MB / 1.209 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.9378, allocations: 1.122 MB / 1.21 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.9382, allocations: 220 kB / 1.21 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.9419, allocations: 1.521 MB / 1.211 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.9428, allocations: 0.7985 MB / 1.212 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.9444, allocations: 1.232 MB / 1.213 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005732/0.9501, allocations: 3.528 MB / 1.217 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9502, allocations: 0 / 1.217 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9502, allocations: 0 / 1.217 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.922e-05/0.9502, allocations: 0 / 1.217 GB, free: 5.621 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.005633/0.9559, allocations: 2.77 MB / 1.219 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.9559, allocations: 8.031 kB / 1.219 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003747/0.9597, allocations: 0.559 MB / 1.22 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.9624, allocations: 1.592 MB / 1.222 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.9626, allocations: 135.4 kB / 1.222 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.9628, allocations: 172 kB / 1.222 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.9665, allocations: 1.956 MB / 1.224 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.9665, allocations: 0 / 1.224 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.9667, allocations: 72 kB / 1.224 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.9667, allocations: 40 kB / 1.224 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.9705, allocations: 2.12 MB / 1.226 GB, free: 12.03 MB / 0.9825 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.01072/0.9813, allocations: 6.259 MB / 1.232 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.9851, allocations: 2.125 MB / 1.234 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.9866, allocations: 0.7725 MB / 1.235 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/0.9873, allocations: 441.5 kB / 1.235 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/0.9894, allocations: 1.021 MB / 1.236 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.446e-06/0.9894, allocations: 0 / 1.236 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007627/0.997, allocations: 2.981 MB / 1.239 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.9972, allocations: 205.2 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/1, allocations: 1.805 MB / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/1, allocations: 57.7 kB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000899/1.001, allocations: 0.8389 MB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/1.002, allocations: 481 kB / 1.243 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/1.002, allocations: 258.8 kB / 1.243 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.002, allocations: 357.9 kB / 1.243 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.004, allocations: 0.6038 MB / 1.244 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/1.005, allocations: 0.8169 MB / 1.245 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.008, allocations: 1.357 MB / 1.246 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.008, allocations: 0 / 1.246 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004654/1.012, allocations: 1.846 MB / 1.248 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.012, allocations: 7.938 kB / 1.248 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.012, allocations: 0 / 1.248 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.014, allocations: 208.2 kB / 1.248 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.015, allocations: 343.5 kB / 1.248 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5613/1.577, allocations: 7.32 MB / 1.255 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.578, allocations: 162.5 kB / 1.255 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/1.579, allocations: 57.8 kB / 1.256 GB, free: 226.8 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.001362/1.58, allocations: 490.1 kB / 1.256 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006241/1.581, allocations: 187.5 kB / 1.256 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/1.587, allocations: 2.142 MB / 1.258 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.587, allocations: 15.59 kB / 1.258 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.587, allocations: 6.812 kB / 1.258 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.587, allocations: 9.953 kB / 1.258 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008539/1.595, allocations: 4.013 MB / 1.262 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.595, allocations: 0.5312 kB / 1.262 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.597, allocations: 320.7 kB / 1.263 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/1.598, allocations: 199.6 kB / 1.263 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/1.598, allocations: 40.98 kB / 1.263 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00491/1.603, allocations: 7.357 MB / 1.27 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.603, allocations: 1.312 kB / 1.27 GB, free: 217.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/1.608, allocations: 2.004 MB / 1.272 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/1.609, allocations: 479.5 kB / 1.272 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/1.61, allocations: 29.98 kB / 1.272 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.611, allocations: 110.2 kB / 1.272 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/1.612, allocations: 116.8 kB / 1.273 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.612, allocations: 69.06 kB / 1.273 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001935/1.614, allocations: 1.291 MB / 1.274 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.614, allocations: 3.906 kB / 1.274 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00204/1.616, allocations: 0.6803 MB / 1.275 GB, free: 215.8 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.002337/1.618, allocations: 0.7573 MB / 1.275 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005789/1.624, allocations: 2.54 MB / 1.278 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.624, allocations: 3.938 kB / 1.278 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.626, allocations: 1.43 MB / 1.279 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.629, allocations: 0.5452 MB / 1.28 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007233/1.637, allocations: 3.88 MB / 1.284 GB, free: 211.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.638, allocations: 1.536 MB / 1.285 GB, free: 211 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002057/1.64, allocations: 0.4923 MB / 1.286 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/1.641, allocations: 172.5 kB / 1.286 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.641, allocations: 0 / 1.286 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04731/1.688, allocations: 32.12 MB / 1.317 GB, free: 183.8 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=400 -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/jenkins/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