Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006095/0.006095, allocations: 98.12 kB / 15.73 MB, free: 6.004 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.001275/0.001276, allocations: 195 kB / 16.67 MB, free: 5.934 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8209, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1856/1.007, allocations: 154 MB / 1.238 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01434/1.021, allocations: 10.49 MB / 1.249 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009731/1.022, allocations: 23.88 kB / 1.249 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008421/1.023, allocations: 269.8 kB / 1.249 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/1.026, allocations: 0.9369 MB / 1.25 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/1.028, allocations: 1.083 MB / 1.251 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001838/1.03, allocations: 1.64 MB / 1.252 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/1.032, allocations: 1.188 MB / 1.254 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/1.033, allocations: 0.7227 MB / 1.254 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/1.034, allocations: 0.6107 MB / 1.255 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/1.034, allocations: 132 kB / 1.255 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/1.036, allocations: 1.034 MB / 1.256 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000329/1.037, allocations: 378.9 kB / 1.256 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006038/1.037, allocations: 0.6528 MB / 1.257 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/1.04, allocations: 2.191 MB / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.04, allocations: 0 / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/1.04, allocations: 0 / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.52e-05/1.04, allocations: 0 / 1.259 GB, free: 14.38 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003015/1.043, allocations: 1.751 MB / 1.261 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/1.043, allocations: 8.031 kB / 1.261 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/1.045, allocations: 274.9 kB / 1.261 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.046, allocations: 0.9142 MB / 1.262 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/1.046, allocations: 74 kB / 1.262 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.047, allocations: 100 kB / 1.262 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/1.049, allocations: 1.11 MB / 1.263 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.049, allocations: 0 / 1.263 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.049, allocations: 47.94 kB / 1.263 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/1.049, allocations: 24 kB / 1.263 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/1.051, allocations: 1.315 MB / 1.265 GB, free: 8.625 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.005446/1.056, allocations: 3.199 MB / 1.268 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/1.058, allocations: 1.097 MB / 1.269 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/1.059, allocations: 429.5 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/1.06, allocations: 138 kB / 1.269 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/1.061, allocations: 0.6177 MB / 1.27 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 3.016e-06/1.061, allocations: 0 / 1.27 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004368/1.065, allocations: 1.632 MB / 1.272 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.065, allocations: 192.9 kB / 1.272 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.066, allocations: 0.8135 MB / 1.273 GB, free: 256 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.066, allocations: 45.7 kB / 1.273 GB, free: 204 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/1.067, allocations: 469.3 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/1.067, allocations: 325.1 kB / 1.273 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/1.067, allocations: 190.5 kB / 1.274 GB, free: 15.22 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.068, allocations: 341.9 kB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/1.068, allocations: 353.8 kB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009078/1.069, allocations: 477.6 kB / 1.275 GB, free: 14.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.071, allocations: 0.7843 MB / 1.275 GB, free: 13.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.071, allocations: 0 / 1.275 GB, free: 13.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002663/1.073, allocations: 1.096 MB / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.074, allocations: 6.656 kB / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.074, allocations: 0 / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/1.074, allocations: 117.7 kB / 1.277 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/1.075, allocations: 211.7 kB / 1.277 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00332/1.079, allocations: 3.06 MB / 1.28 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.08, allocations: 115.5 kB / 1.28 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.08, allocations: 43.97 kB / 1.28 GB, free: 8.309 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006659/1.081, allocations: 315.8 kB / 1.28 GB, free: 7.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/1.081, allocations: 107.3 kB / 1.28 GB, free: 7.887 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/1.084, allocations: 1.31 MB / 1.282 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.084, allocations: 15.98 kB / 1.282 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.084, allocations: 4 kB / 1.282 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.084, allocations: 3.984 kB / 1.282 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/1.088, allocations: 2.416 MB / 1.284 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.088, allocations: 0 / 1.284 GB, free: 4.055 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000882/1.089, allocations: 195.7 kB / 1.284 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000566/1.09, allocations: 101.6 kB / 1.284 GB, free: 3.758 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.09, allocations: 31.92 kB / 1.284 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003291/1.093, allocations: 3.096 MB / 1.287 GB, free: 356 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.093, allocations: 3.938 kB / 1.287 GB, free: 352 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/1.096, allocations: 1.241 MB / 1.289 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/1.097, allocations: 316 kB / 1.289 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.097, allocations: 20 kB / 1.289 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/1.098, allocations: 75.92 kB / 1.289 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.098, allocations: 88.81 kB / 1.289 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.099, allocations: 43.97 kB / 1.289 GB, free: 14.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009057/1.1, allocations: 0.5731 MB / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.9e-07/1.1, allocations: 0 / 1.29 GB, free: 13.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001406/1.101, allocations: 454.8 kB / 1.29 GB, free: 13.52 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001851/1.103, allocations: 0.7072 MB / 1.291 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002883/1.106, allocations: 1.146 MB / 1.292 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.106, allocations: 4.188 kB / 1.292 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/1.107, allocations: 0.7332 MB / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/1.11, allocations: 360 kB / 1.293 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/1.115, allocations: 2.146 MB / 1.295 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/1.116, allocations: 1.111 MB / 1.296 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001195/1.117, allocations: 307.6 kB / 1.296 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/1.117, allocations: 119.4 kB / 1.297 GB, free: 6.988 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/1.117, allocations: 4 kB / 1.297 GB, free: 6.984 MB / 1.029 GB Notification: Performance of Templates: time 0.03594/1.153, allocations: 19.77 MB / 1.316 GB, free: 3.414 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches