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.001247/0.001247, allocations: 98.88 kB / 16.02 MB, free: 72 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.001128/0.001128, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 9.812 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3309, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1875/0.5185, allocations: 163.9 MB / 1.219 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02535/0.5439, allocations: 17.18 MB / 1.236 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.5459, allocations: 27.81 kB / 1.236 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.548, allocations: 493 kB / 1.237 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.554, allocations: 1.589 MB / 1.238 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.5581, allocations: 1.266 MB / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004869/0.5629, allocations: 3.113 MB / 1.242 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.5664, allocations: 1.66 MB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005727/0.5721, allocations: 1.107 MB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.574, allocations: 0.9136 MB / 1.246 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005415/0.5746, allocations: 52 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.5783, allocations: 1.505 MB / 1.248 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009701/0.5793, allocations: 0.5915 MB / 1.248 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.5813, allocations: 1.015 MB / 1.249 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6736/1.255, allocations: 2.605 MB / 1.252 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.255, allocations: 1 kB / 1.252 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.296e-06/1.255, allocations: 0.7188 kB / 1.252 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001336/1.255, allocations: 0 / 1.252 GB, free: 9.223 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.004989/1.26, allocations: 2.31 MB / 1.254 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.26, allocations: 13.59 kB / 1.254 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00433/1.265, allocations: 0.5767 MB / 1.255 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/1.268, allocations: 1.594 MB / 1.256 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.268, allocations: 126.7 kB / 1.256 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/1.268, allocations: 172.9 kB / 1.256 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/1.273, allocations: 1.972 MB / 1.258 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/1.273, allocations: 0 / 1.258 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/1.273, allocations: 76.84 kB / 1.258 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/1.273, allocations: 42.62 kB / 1.258 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003982/1.277, allocations: 2.135 MB / 1.26 GB, free: 7.312 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.01138/1.288, allocations: 6.272 MB / 1.267 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/1.293, allocations: 2.142 MB / 1.269 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/1.294, allocations: 0.7876 MB / 1.269 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/1.295, allocations: 429.5 kB / 1.27 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002323/1.297, allocations: 1.029 MB / 1.271 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 8.406e-06/1.297, allocations: 0 / 1.271 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.009332/1.307, allocations: 3.028 MB / 1.274 GB, free: 19.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.307, allocations: 195.8 kB / 1.274 GB, free: 19.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/1.31, allocations: 1.809 MB / 1.276 GB, free: 18.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004231/1.311, allocations: 58.2 kB / 1.276 GB, free: 18.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000758/1.312, allocations: 0.8378 MB / 1.277 GB, free: 18.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/1.312, allocations: 485.5 kB / 1.277 GB, free: 18.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/1.312, allocations: 110.4 kB / 1.277 GB, free: 18.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.313, allocations: 352.8 kB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.314, allocations: 0.6189 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/1.316, allocations: 0.8139 MB / 1.279 GB, free: 17.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/1.319, allocations: 1.381 MB / 1.28 GB, free: 17.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.319, allocations: 0 / 1.28 GB, free: 17.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004684/1.323, allocations: 1.858 MB / 1.282 GB, free: 17.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.323, allocations: 8.641 kB / 1.282 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.324, allocations: 1.031 kB / 1.282 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.325, allocations: 210.4 kB / 1.282 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.327, allocations: 343 kB / 1.283 GB, free: 17.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005986/1.333, allocations: 6.84 MB / 1.289 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.335, allocations: 203.2 kB / 1.29 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/1.335, allocations: 58.52 kB / 1.29 GB, free: 11.16 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.001375/1.336, allocations: 483.4 kB / 1.29 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/1.337, allocations: 181.2 kB / 1.29 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/1.342, allocations: 2.169 MB / 1.292 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/1.342, allocations: 15.22 kB / 1.292 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.342, allocations: 2.219 kB / 1.292 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.342, allocations: 6.609 kB / 1.292 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008511/1.351, allocations: 4.033 MB / 1.296 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.351, allocations: 0 / 1.296 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.353, allocations: 333 kB / 1.297 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/1.354, allocations: 207.4 kB / 1.297 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.354, allocations: 47.41 kB / 1.297 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/1.359, allocations: 6.837 MB / 1.304 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.359, allocations: 1.125 kB / 1.304 GB, free: 3.914 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/1.364, allocations: 2.032 MB / 1.306 GB, free: 3.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.366, allocations: 493.3 kB / 1.306 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/1.366, allocations: 29 kB / 1.306 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.368, allocations: 159.3 kB / 1.306 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/1.369, allocations: 119.5 kB / 1.306 GB, free: 3.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.369, allocations: 69.81 kB / 1.306 GB, free: 3.359 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001878/1.371, allocations: 1.294 MB / 1.308 GB, free: 3.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.371, allocations: 0 / 1.308 GB, free: 3.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002396/1.373, allocations: 0.6889 MB / 1.308 GB, free: 3.145 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.002112/1.375, allocations: 0.7608 MB / 1.309 GB, free: 2.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003899/1.379, allocations: 2.122 MB / 1.311 GB, free: 2.324 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.379, allocations: 0.5625 kB / 1.311 GB, free: 2.324 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/1.381, allocations: 1.443 MB / 1.313 GB, free: 1.754 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/1.385, allocations: 0.508 MB / 1.313 GB, free: 1.715 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/1.395, allocations: 4.625 MB / 1.318 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/1.397, allocations: 1.489 MB / 1.319 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.398, allocations: 192.4 kB / 1.319 GB, free: 14.82 MB / 1.029 GB Notification: Performance of SimCode: time 2.034e-06/1.398, allocations: 0 / 1.319 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Templates: time 0.08424/1.482, allocations: 67.04 MB / 1.385 GB, free: 5.859 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