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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 100.1 kB / 15.88 MB, free: 12 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.001776/0.001776, allocations: 196 kB / 16.79 MB, free: 6.809 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.873/2.873, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.75 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1687/0.4815, allocations: 166.1 MB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.5034, allocations: 17.42 MB / 1.232 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.5052, allocations: 27.81 kB / 1.232 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.5071, allocations: 489.1 kB / 1.232 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.5119, allocations: 1.588 MB / 1.234 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.5153, allocations: 1.276 MB / 1.235 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004177/0.5194, allocations: 3.101 MB / 1.238 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.5223, allocations: 1.802 MB / 1.24 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00542/0.5277, allocations: 1.263 MB / 1.241 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.5294, allocations: 1.101 MB / 1.242 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003881/0.5298, allocations: 116 kB / 1.242 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.5331, allocations: 1.583 MB / 1.244 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.5339, allocations: 0.6891 MB / 1.245 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.5353, allocations: 1.127 MB / 1.246 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7009/1.236, allocations: 2.666 MB / 1.248 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.236, allocations: 0 / 1.248 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.475e-06/1.236, allocations: 1.062 kB / 1.248 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001139/1.236, allocations: 0 / 1.248 GB, free: 9.832 MB / 0.9981 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.005728/1.242, allocations: 2.761 MB / 1.251 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.242, allocations: 12.78 kB / 1.251 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/1.246, allocations: 0.5593 MB / 1.252 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/1.249, allocations: 1.599 MB / 1.253 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/1.25, allocations: 131 kB / 1.253 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/1.25, allocations: 169.5 kB / 1.253 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/1.254, allocations: 1.954 MB / 1.255 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.254, allocations: 3.562 kB / 1.255 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/1.254, allocations: 75.69 kB / 1.255 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/1.254, allocations: 43.12 kB / 1.256 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/1.258, allocations: 2.114 MB / 1.258 GB, free: 7.879 MB / 0.9981 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.01345/1.271, allocations: 6.231 MB / 1.264 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/1.276, allocations: 2.13 MB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/1.277, allocations: 0.7768 MB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/1.278, allocations: 428.5 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002326/1.28, allocations: 1.02 MB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 4.127e-06/1.28, allocations: 0 / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.008758/1.289, allocations: 2.988 MB / 1.271 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.289, allocations: 200.2 kB / 1.271 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/1.292, allocations: 1.808 MB / 1.273 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000397/1.293, allocations: 58.83 kB / 1.273 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/1.293, allocations: 0.8379 MB / 1.274 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/1.294, allocations: 485.8 kB / 1.274 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/1.295, allocations: 255.8 kB / 1.274 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000102/1.295, allocations: 353.6 kB / 1.275 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/1.296, allocations: 0.6086 MB / 1.275 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.298, allocations: 0.8145 MB / 1.276 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/1.3, allocations: 1.353 MB / 1.277 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.3, allocations: 2.062 kB / 1.277 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004674/1.305, allocations: 1.845 MB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/1.305, allocations: 6.141 kB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.305, allocations: 1.375 kB / 1.279 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/1.306, allocations: 211.5 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.308, allocations: 341.2 kB / 1.28 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/1.314, allocations: 6.829 MB / 1.286 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.316, allocations: 187 kB / 1.287 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/1.317, allocations: 53.62 kB / 1.287 GB, free: 11.75 MB / 1.014 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.001301/1.318, allocations: 487.8 kB / 1.287 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005743/1.319, allocations: 182.3 kB / 1.287 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/1.323, allocations: 2.148 MB / 1.289 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/1.323, allocations: 16.89 kB / 1.289 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.323, allocations: 2.156 kB / 1.289 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.323, allocations: 6.094 kB / 1.289 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/1.331, allocations: 4.014 MB / 1.293 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.331, allocations: 1.188 kB / 1.293 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.333, allocations: 326.9 kB / 1.294 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009342/1.334, allocations: 206 kB / 1.294 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.334, allocations: 42.77 kB / 1.294 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/1.339, allocations: 6.839 MB / 1.301 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.339, allocations: 0 / 1.301 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004509/1.344, allocations: 2.007 MB / 1.303 GB, free: 4.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.345, allocations: 476.5 kB / 1.303 GB, free: 3.977 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/1.345, allocations: 35.92 kB / 1.303 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.347, allocations: 130.2 kB / 1.303 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/1.347, allocations: 119.3 kB / 1.303 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.347, allocations: 68.59 kB / 1.303 GB, free: 3.961 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001749/1.349, allocations: 1.294 MB / 1.305 GB, free: 3.852 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.01e-07/1.349, allocations: 0 / 1.305 GB, free: 3.852 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002193/1.351, allocations: 0.6919 MB / 1.305 GB, free: 3.746 MB / 1.014 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.001897/1.353, allocations: 0.755 MB / 1.306 GB, free: 3.551 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003654/1.357, allocations: 2.105 MB / 1.308 GB, free: 2.961 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.357, allocations: 0.5625 kB / 1.308 GB, free: 2.961 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/1.359, allocations: 1.428 MB / 1.309 GB, free: 2.391 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.362, allocations: 0.5107 MB / 1.31 GB, free: 2.355 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/1.369, allocations: 4.606 MB / 1.314 GB, free: 216 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.371, allocations: 1.486 MB / 1.316 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009433/1.372, allocations: 196.8 kB / 1.316 GB, free: 15.45 MB / 1.029 GB Notification: Performance of SimCode: time 1.172e-06/1.372, allocations: 1.094 kB / 1.316 GB, free: 15.45 MB / 1.029 GB Notification: Performance of Templates: time 0.07687/1.449, allocations: 67.3 MB / 1.382 GB, free: 5.598 MB / 1.061 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches