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.000815/0.0008151, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005723/0.005723, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.424/2.424, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005345/0.0005345, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.798, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1738/0.9718, allocations: 149.7 MB / 1.101 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01688/0.9887, allocations: 10.37 MB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.9901, allocations: 15.94 kB / 1.111 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.9913, allocations: 218.5 kB / 1.112 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.9946, allocations: 0.7889 MB / 1.112 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.9975, allocations: 0.9448 MB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.9999, allocations: 1.616 MB / 1.115 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/1.002, allocations: 1.025 MB / 1.116 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/1.004, allocations: 0.5474 MB / 1.116 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008133/1.005, allocations: 493.4 kB / 1.117 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/1.005, allocations: 32 kB / 1.117 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/1.007, allocations: 0.9282 MB / 1.118 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/1.007, allocations: 262.8 kB / 1.118 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007413/1.008, allocations: 0.5413 MB / 1.119 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/1.011, allocations: 2.04 MB / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.011, allocations: 0 / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/1.011, allocations: 0 / 1.121 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.977e-05/1.011, allocations: 0 / 1.121 GB, free: 5.238 MB / 0.8731 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.002922/1.014, allocations: 1.446 MB / 1.122 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.014, allocations: 15.97 kB / 1.122 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.016, allocations: 278.1 kB / 1.122 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.017, allocations: 0.8861 MB / 1.123 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/1.017, allocations: 74 kB / 1.123 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.017, allocations: 92 kB / 1.123 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/1.019, allocations: 1.117 MB / 1.124 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.019, allocations: 0 / 1.124 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.019, allocations: 44 kB / 1.124 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/1.019, allocations: 24 kB / 1.124 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/1.022, allocations: 1.331 MB / 1.126 GB, free: 15.8 MB / 0.8887 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.005223/1.027, allocations: 3.263 MB / 1.129 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/1.029, allocations: 1.11 MB / 1.13 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/1.03, allocations: 428.9 kB / 1.13 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/1.03, allocations: 142 kB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/1.031, allocations: 0.6333 MB / 1.131 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 2.305e-06/1.031, allocations: 0 / 1.131 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004228/1.035, allocations: 1.663 MB / 1.133 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.036, allocations: 188.9 kB / 1.133 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/1.037, allocations: 0.8095 MB / 1.134 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/1.037, allocations: 49.7 kB / 1.134 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/1.037, allocations: 464.5 kB / 1.134 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/1.038, allocations: 311.5 kB / 1.135 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/1.038, allocations: 77.67 kB / 1.135 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002804/1.038, allocations: 345.9 kB / 1.135 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007862/1.039, allocations: 361.8 kB / 1.135 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009245/1.04, allocations: 493.5 kB / 1.136 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.042, allocations: 0.8 MB / 1.137 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.042, allocations: 0 / 1.137 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002697/1.044, allocations: 1.107 MB / 1.138 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.044, allocations: 8.062 kB / 1.138 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.044, allocations: 7.938 kB / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/1.045, allocations: 113.6 kB / 1.138 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/1.046, allocations: 207.7 kB / 1.138 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/1.05, allocations: 2.863 MB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.051, allocations: 132.7 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/1.051, allocations: 39.97 kB / 1.141 GB, free: 15.62 MB / 0.9044 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.0006529/1.052, allocations: 301.2 kB / 1.141 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/1.052, allocations: 98.78 kB / 1.141 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.055, allocations: 1.345 MB / 1.143 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.055, allocations: 12 kB / 1.143 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.055, allocations: 3.938 kB / 1.143 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.055, allocations: 3.984 kB / 1.143 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/1.059, allocations: 2.442 MB / 1.145 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/1.059, allocations: 0 / 1.145 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/1.06, allocations: 199.8 kB / 1.145 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006553/1.061, allocations: 113.6 kB / 1.145 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/1.061, allocations: 31.92 kB / 1.145 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/1.063, allocations: 2.883 MB / 1.148 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.063, allocations: 8.047 kB / 1.148 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/1.066, allocations: 1.254 MB / 1.149 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00047/1.067, allocations: 331.3 kB / 1.15 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.067, allocations: 23.98 kB / 1.15 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008862/1.068, allocations: 95.92 kB / 1.15 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/1.068, allocations: 84.81 kB / 1.15 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/1.068, allocations: 43.97 kB / 1.15 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007192/1.069, allocations: 0.5693 MB / 1.151 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.21e-07/1.069, allocations: 0 / 1.151 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001184/1.07, allocations: 447.2 kB / 1.151 GB, free: 4.965 MB / 0.9044 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.001595/1.071, allocations: 0.7188 MB / 1.152 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.074, allocations: 1.158 MB / 1.153 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.074, allocations: 4 kB / 1.153 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/1.075, allocations: 0.7489 MB / 1.154 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.076, allocations: 314.7 kB / 1.154 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/1.081, allocations: 2.69 MB / 1.156 GB, free: 15.45 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/1.082, allocations: 1.107 MB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001036/1.083, allocations: 315.5 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/1.083, allocations: 115.4 kB / 1.158 GB, free: 13.89 MB / 0.92 GB Notification: Performance of SimCode: time 3.1e-07/1.083, allocations: 0 / 1.158 GB, free: 13.89 MB / 0.92 GB Notification: Performance of Templates: time 0.03163/1.115, allocations: 18.66 MB / 1.176 GB, free: 11.43 MB / 0.9356 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