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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001567/0.001568, allocations: 108 kB / 15.6 MB, free: 132 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.001862/0.001862, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.67 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.377, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1911/0.5682, allocations: 168.4 MB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.663/1.231, allocations: 17.36 MB / 1.25 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/1.234, allocations: 30.59 kB / 1.25 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/1.236, allocations: 0.572 MB / 1.25 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006707/1.243, allocations: 1.779 MB / 1.252 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/1.246, allocations: 1.436 MB / 1.253 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004601/1.251, allocations: 2.864 MB / 1.256 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/1.254, allocations: 1.947 MB / 1.258 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/1.26, allocations: 1.415 MB / 1.259 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/1.263, allocations: 1.122 MB / 1.261 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008026/1.263, allocations: 223.3 kB / 1.261 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/1.268, allocations: 1.523 MB / 1.262 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009976/1.269, allocations: 0.7951 MB / 1.263 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/1.271, allocations: 1.221 MB / 1.264 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006251/1.277, allocations: 3.534 MB / 1.268 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.277, allocations: 3.938 kB / 1.268 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.277, allocations: 0.9062 kB / 1.268 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001047/1.277, allocations: 1.188 kB / 1.268 GB, free: 5.008 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.006205/1.283, allocations: 2.768 MB / 1.27 GB, free: 19.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.283, allocations: 9.281 kB / 1.27 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/1.287, allocations: 0.5542 MB / 1.271 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/1.29, allocations: 1.6 MB / 1.272 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/1.29, allocations: 128.5 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/1.291, allocations: 170.9 kB / 1.273 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004564/1.295, allocations: 1.957 MB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/1.295, allocations: 2.219 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/1.296, allocations: 74.95 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/1.296, allocations: 44.73 kB / 1.275 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/1.3, allocations: 2.123 MB / 1.277 GB, free: 18.87 MB / 1.014 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.01096/1.31, allocations: 6.254 MB / 1.283 GB, free: 16.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.314, allocations: 2.133 MB / 1.285 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/1.315, allocations: 0.7701 MB / 1.286 GB, free: 16.14 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/1.316, allocations: 429.9 kB / 1.286 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/1.318, allocations: 1.022 MB / 1.287 GB, free: 15.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=146): time 4.508e-06/1.318, allocations: 0 / 1.287 GB, free: 15.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=146): time 0.007143/1.325, allocations: 2.998 MB / 1.29 GB, free: 14.99 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/1.325, allocations: 196.7 kB / 1.29 GB, free: 14.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/1.328, allocations: 1.801 MB / 1.292 GB, free: 14.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003498/1.328, allocations: 60.98 kB / 1.292 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/1.329, allocations: 0.8464 MB / 1.293 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003927/1.329, allocations: 481.8 kB / 1.293 GB, free: 13.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/1.33, allocations: 257 kB / 1.294 GB, free: 13.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.33, allocations: 352.8 kB / 1.294 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.331, allocations: 0.6099 MB / 1.295 GB, free: 13.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/1.332, allocations: 0.8138 MB / 1.295 GB, free: 13.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.335, allocations: 1.351 MB / 1.297 GB, free: 13.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.335, allocations: 1.406 kB / 1.297 GB, free: 13.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004462/1.339, allocations: 1.844 MB / 1.299 GB, free: 13.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.339, allocations: 4.969 kB / 1.299 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/1.339, allocations: 2.438 kB / 1.299 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.34, allocations: 207.4 kB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.342, allocations: 340.6 kB / 1.299 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/1.348, allocations: 7.329 MB / 1.306 GB, free: 6.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.35, allocations: 167.3 kB / 1.306 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.35, allocations: 57.34 kB / 1.306 GB, free: 6.359 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.001101/1.351, allocations: 497.7 kB / 1.307 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.352, allocations: 177.2 kB / 1.307 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/1.356, allocations: 2.149 MB / 1.309 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.356, allocations: 16.25 kB / 1.309 GB, free: 5.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.356, allocations: 6.344 kB / 1.309 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.356, allocations: 9.016 kB / 1.309 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/1.363, allocations: 4.002 MB / 1.313 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1.363, allocations: 5.062 kB / 1.313 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.365, allocations: 323.5 kB / 1.313 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008407/1.366, allocations: 199.5 kB / 1.314 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.366, allocations: 38.28 kB / 1.314 GB, free: 5.484 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/1.372, allocations: 7.353 MB / 1.321 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.372, allocations: 0.6875 kB / 1.321 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/1.376, allocations: 2.013 MB / 1.323 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.377, allocations: 477.7 kB / 1.323 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/1.378, allocations: 28.06 kB / 1.323 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/1.379, allocations: 112.9 kB / 1.323 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/1.38, allocations: 115.5 kB / 1.323 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.38, allocations: 72.92 kB / 1.324 GB, free: 14.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001792/1.382, allocations: 1.292 MB / 1.325 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.382, allocations: 0 / 1.325 GB, free: 14.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002034/1.384, allocations: 0.6882 MB / 1.326 GB, free: 13.97 MB / 1.029 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.001728/1.385, allocations: 0.7515 MB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005818/1.391, allocations: 2.551 MB / 1.329 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.391, allocations: 0.5625 kB / 1.329 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002081/1.393, allocations: 1.425 MB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.397, allocations: 0.5483 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/1.405, allocations: 3.875 MB / 1.334 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.407, allocations: 1.529 MB / 1.336 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002672/1.409, allocations: 0.4981 MB / 1.336 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/1.41, allocations: 171.2 kB / 1.337 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 1.153e-06/1.41, allocations: 0 / 1.337 GB, free: 10.21 MB / 1.029 GB Notification: Performance of Templates: time 0.05986/1.47, allocations: 32.11 MB / 1.368 GB, free: 8.707 MB / 1.045 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/jenkins/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