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.001135/0.001135, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001233, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.71/2.71, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.91 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6633, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1876/0.8509, allocations: 166.2 MB / 1.179 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0279/0.8788, allocations: 17.17 MB / 1.196 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.8809, allocations: 31.75 kB / 1.196 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.8834, allocations: 493 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/0.8902, allocations: 1.633 MB / 1.198 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.8949, allocations: 1.298 MB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0045/0.8994, allocations: 2.883 MB / 1.202 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.9032, allocations: 1.948 MB / 1.204 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.9092, allocations: 1.438 MB / 1.205 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001875/0.9111, allocations: 1.156 MB / 1.206 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007031/0.9118, allocations: 224 kB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003409/0.9152, allocations: 1.56 MB / 1.208 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.9164, allocations: 0.7868 MB / 1.209 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.9195, allocations: 1.232 MB / 1.21 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007308/0.9268, allocations: 3.598 MB / 1.214 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9269, allocations: 0 / 1.214 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9269, allocations: 0 / 1.214 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001419/0.927, allocations: 4 kB / 1.214 GB, free: 8.371 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.008673/0.9357, allocations: 2.774 MB / 1.216 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.9358, allocations: 8.031 kB / 1.216 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.94, allocations: 0.5512 MB / 1.217 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.943, allocations: 1.6 MB / 1.218 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.9431, allocations: 131.4 kB / 1.219 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.9434, allocations: 164 kB / 1.219 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/0.947, allocations: 1.956 MB / 1.221 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.947, allocations: 0 / 1.221 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.9472, allocations: 72 kB / 1.221 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.9473, allocations: 51.98 kB / 1.221 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003587/0.9508, allocations: 2.12 MB / 1.223 GB, free: 14.77 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.009092/0.96, allocations: 6.235 MB / 1.229 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00337/0.9633, allocations: 2.129 MB / 1.231 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.9646, allocations: 0.7725 MB / 1.232 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.9653, allocations: 429.6 kB / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001795/0.9671, allocations: 1.017 MB / 1.233 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.815e-06/0.9671, allocations: 0 / 1.233 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007026/0.9741, allocations: 2.989 MB / 1.236 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9742, allocations: 201.2 kB / 1.236 GB, free: 344 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.9766, allocations: 1.805 MB / 1.238 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.9767, allocations: 57.7 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007553/0.9775, allocations: 0.8427 MB / 1.239 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/0.978, allocations: 481 kB / 1.239 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.9785, allocations: 258.8 kB / 1.24 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.9787, allocations: 361.9 kB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.98, allocations: 0.5999 MB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.9815, allocations: 0.8131 MB / 1.241 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.984, allocations: 1.357 MB / 1.243 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.984, allocations: 4 kB / 1.243 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003991/0.988, allocations: 1.83 MB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.988, allocations: 7.938 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.988, allocations: 0 / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.9891, allocations: 216.1 kB / 1.245 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.9907, allocations: 331.6 kB / 1.245 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.631/1.622, allocations: 7.338 MB / 1.252 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.624, allocations: 185.7 kB / 1.252 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/1.624, allocations: 57.95 kB / 1.252 GB, free: 228.7 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.001253/1.625, allocations: 484.8 kB / 1.253 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005361/1.626, allocations: 183.7 kB / 1.253 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005565/1.632, allocations: 2.155 MB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.632, allocations: 15.34 kB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.632, allocations: 6.453 kB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/1.632, allocations: 8.828 kB / 1.255 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008797/1.64, allocations: 4.011 MB / 1.259 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.641, allocations: 0 / 1.259 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.642, allocations: 320.4 kB / 1.259 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009808/1.643, allocations: 196.3 kB / 1.26 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.643, allocations: 46.59 kB / 1.26 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00503/1.648, allocations: 7.359 MB / 1.267 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/1.648, allocations: 0 / 1.267 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005838/1.654, allocations: 2.008 MB / 1.269 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.656, allocations: 471.9 kB / 1.269 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/1.656, allocations: 36.05 kB / 1.269 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.657, allocations: 145.1 kB / 1.269 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/1.658, allocations: 112.9 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/1.658, allocations: 76.69 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002129/1.66, allocations: 1.292 MB / 1.271 GB, free: 218 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.66, allocations: 0 / 1.271 GB, free: 218 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002286/1.662, allocations: 0.6866 MB / 1.272 GB, free: 217.9 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.001865/1.664, allocations: 0.7507 MB / 1.272 GB, free: 217.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005643/1.67, allocations: 2.549 MB / 1.275 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.67, allocations: 3.406 kB / 1.275 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.672, allocations: 1.423 MB / 1.276 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.675, allocations: 0.5502 MB / 1.277 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/1.683, allocations: 4.716 MB / 1.281 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/1.684, allocations: 1.531 MB / 1.283 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002284/1.686, allocations: 0.5023 MB / 1.283 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/1.687, allocations: 171.2 kB / 1.283 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.687, allocations: 0 / 1.283 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04665/1.734, allocations: 31.93 MB / 1.315 GB, free: 185.5 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=480 -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