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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001178/0.001178, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001122/0.001122, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7323, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1681/0.9004, allocations: 168.4 MB / 1.373 GB, free: 4.551 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.9232, allocations: 17.36 MB / 1.39 GB, free: 3.141 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.9248, allocations: 31.81 kB / 1.39 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.9268, allocations: 0.5738 MB / 1.39 GB, free: 2.531 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005501/0.9323, allocations: 1.786 MB / 1.392 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.9373, allocations: 1.444 MB / 1.394 GB, free: 15.31 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004029/0.9414, allocations: 2.891 MB / 1.396 GB, free: 12.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.9445, allocations: 1.94 MB / 1.398 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.9486, allocations: 1.454 MB / 1.4 GB, free: 9.004 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.9504, allocations: 1.124 MB / 1.401 GB, free: 7.875 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005995/0.951, allocations: 224 kB / 1.401 GB, free: 7.656 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.9544, allocations: 1.552 MB / 1.403 GB, free: 6.102 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009647/0.9554, allocations: 0.7946 MB / 1.403 GB, free: 5.305 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.9573, allocations: 1.22 MB / 1.405 GB, free: 4.078 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.9625, allocations: 3.61 MB / 1.408 GB, free: 468 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9626, allocations: 0 / 1.408 GB, free: 468 kB / 1.123 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9626, allocations: 0 / 1.408 GB, free: 468 kB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001141/0.9627, allocations: 3.938 kB / 1.408 GB, free: 464 kB / 1.123 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.005764/0.9685, allocations: 2.77 MB / 1.411 GB, free: 13.62 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9685, allocations: 8.031 kB / 1.411 GB, free: 13.61 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.9724, allocations: 0.5629 MB / 1.411 GB, free: 13.05 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.9752, allocations: 1.631 MB / 1.413 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.9754, allocations: 131.4 kB / 1.413 GB, free: 11.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000315/0.9757, allocations: 171.9 kB / 1.413 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/0.9792, allocations: 1.96 MB / 1.415 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.9793, allocations: 0 / 1.415 GB, free: 9.055 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.9795, allocations: 76 kB / 1.415 GB, free: 8.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.432e-05/0.9795, allocations: 40 kB / 1.415 GB, free: 8.941 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.9829, allocations: 2.116 MB / 1.417 GB, free: 6.82 MB / 1.139 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.008804/0.9917, allocations: 6.173 MB / 1.423 GB, free: 308 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.995, allocations: 2.126 MB / 1.425 GB, free: 14.09 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.9962, allocations: 0.7691 MB / 1.426 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.9968, allocations: 445.5 kB / 1.427 GB, free: 12.82 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.9986, allocations: 1.017 MB / 1.428 GB, free: 11.78 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 4.439e-06/0.9986, allocations: 0 / 1.428 GB, free: 11.78 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006873/1.005, allocations: 2.989 MB / 1.43 GB, free: 8.68 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/1.006, allocations: 197.2 kB / 1.431 GB, free: 8.441 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/1.008, allocations: 1.808 MB / 1.432 GB, free: 6.621 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/1.008, allocations: 57.7 kB / 1.432 GB, free: 6.559 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/1.009, allocations: 0.8351 MB / 1.433 GB, free: 5.711 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/1.009, allocations: 485 kB / 1.434 GB, free: 5.23 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/1.01, allocations: 262.7 kB / 1.434 GB, free: 4.969 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.01, allocations: 357.9 kB / 1.434 GB, free: 4.613 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.011, allocations: 0.6038 MB / 1.435 GB, free: 4.008 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.013, allocations: 0.815 MB / 1.436 GB, free: 3.145 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/1.015, allocations: 1.36 MB / 1.437 GB, free: 1.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.015, allocations: 0 / 1.437 GB, free: 1.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004089/1.019, allocations: 1.83 MB / 1.439 GB, free: 15.91 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.019, allocations: 11.94 kB / 1.439 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.019, allocations: 0 / 1.439 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.02, allocations: 212.1 kB / 1.439 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/1.022, allocations: 339.6 kB / 1.439 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005864/1.028, allocations: 7.331 MB / 1.447 GB, free: 7.312 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.03, allocations: 166.7 kB / 1.447 GB, free: 7.148 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/1.03, allocations: 59.95 kB / 1.447 GB, free: 7.09 MB / 1.17 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.00102/1.031, allocations: 491.2 kB / 1.447 GB, free: 6.602 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/1.031, allocations: 185.7 kB / 1.447 GB, free: 6.418 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/1.036, allocations: 2.133 MB / 1.45 GB, free: 4.258 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.036, allocations: 7.969 kB / 1.45 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.036, allocations: 0 / 1.45 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008565/1.037, allocations: 474.2 kB / 1.45 GB, free: 3.766 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/1.037, allocations: 35.98 kB / 1.45 GB, free: 3.73 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.039, allocations: 105.9 kB / 1.45 GB, free: 3.629 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.039, allocations: 117.1 kB / 1.45 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004836/1.044, allocations: 2.02 MB / 1.452 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004788/1.049, allocations: 2.855 MB / 1.455 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001251/1.05, allocations: 0.7559 MB / 1.456 GB, free: 13.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001837/1.052, allocations: 1.289 MB / 1.457 GB, free: 12.55 MB / 1.186 GB Notification: Performance of Backend: time 7.11e-07/1.052, allocations: 4 kB / 1.457 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005922/1.058, allocations: 2.44 MB / 1.459 GB, free: 10.27 MB / 1.186 GB Notification: Performance of SimCode: time 0.006272/1.064, allocations: 3.987 MB / 1.463 GB, free: 6.258 MB / 1.186 GB Notification: Performance of Templates: time 0.05579/1.12, allocations: 35 MB / 1.497 GB, free: 3.508 MB / 1.217 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