Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001646/0.001646, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001917/0.001917, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7631, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1899/0.9531, allocations: 152.4 MB / 1.166 GB, free: 9.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.9685, allocations: 10.41 MB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.9699, allocations: 19.88 kB / 1.176 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009381/0.9709, allocations: 226.5 kB / 1.176 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.9742, allocations: 0.875 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/0.9773, allocations: 0.9776 MB / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.9797, allocations: 1.721 MB / 1.179 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.9814, allocations: 1.146 MB / 1.181 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.9839, allocations: 0.7225 MB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009786/0.9849, allocations: 0.6302 MB / 1.182 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.9851, allocations: 136 kB / 1.182 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.9877, allocations: 1.006 MB / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.9882, allocations: 378.8 kB / 1.183 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008617/0.989, allocations: 0.6685 MB / 1.184 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003385/0.9924, allocations: 2.197 MB / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9925, allocations: 0 / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9925, allocations: 0 / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.244e-05/0.9925, allocations: 4 kB / 1.186 GB, free: 4.574 MB / 0.9356 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.003458/0.996, allocations: 1.707 MB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.996, allocations: 12.03 kB / 1.188 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.9977, allocations: 262.1 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.9991, allocations: 0.8745 MB / 1.189 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/0.9992, allocations: 74 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.9993, allocations: 99.98 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/1.001, allocations: 1.106 MB / 1.19 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/1.001, allocations: 4 kB / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/1.001, allocations: 40 kB / 1.19 GB, free: 272 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.885e-05/1.002, allocations: 27.98 kB / 1.19 GB, free: 244 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/1.004, allocations: 1.319 MB / 1.192 GB, free: 14.92 MB / 0.9512 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.005658/1.01, allocations: 3.434 MB / 1.195 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/1.012, allocations: 1.103 MB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007788/1.012, allocations: 420 kB / 1.196 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/1.013, allocations: 134 kB / 1.197 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/1.014, allocations: 0.6177 MB / 1.197 GB, free: 9 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 3.636e-06/1.014, allocations: 7.938 kB / 1.197 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.00516/1.019, allocations: 1.627 MB / 1.199 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/1.019, allocations: 192.9 kB / 1.199 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/1.021, allocations: 0.8135 MB / 1.2 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/1.021, allocations: 41.7 kB / 1.2 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/1.022, allocations: 468.4 kB / 1.2 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/1.023, allocations: 303.6 kB / 1.201 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000514/1.023, allocations: 190.4 kB / 1.201 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003372/1.023, allocations: 345.9 kB / 1.201 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/1.025, allocations: 357.8 kB / 1.201 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.026, allocations: 469.6 kB / 1.202 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/1.028, allocations: 0.7882 MB / 1.203 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.029, allocations: 4 kB / 1.203 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002839/1.031, allocations: 1.084 MB / 1.204 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.031, allocations: 4 kB / 1.204 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.031, allocations: 4 kB / 1.204 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/1.032, allocations: 113.7 kB / 1.204 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009439/1.033, allocations: 211.7 kB / 1.204 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/1.037, allocations: 3.081 MB / 1.207 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.038, allocations: 116.7 kB / 1.207 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/1.038, allocations: 39.97 kB / 1.207 GB, free: 14.33 MB / 0.9669 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.0006586/1.039, allocations: 311.3 kB / 1.207 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.039, allocations: 102.8 kB / 1.208 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/1.042, allocations: 1.318 MB / 1.209 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.042, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.042, allocations: 4 kB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.042, allocations: 3.984 kB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/1.047, allocations: 2.426 MB / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.047, allocations: 0 / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/1.048, allocations: 187.8 kB / 1.211 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/1.048, allocations: 105.6 kB / 1.211 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/1.048, allocations: 31.91 kB / 1.211 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/1.052, allocations: 3.096 MB / 1.215 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.052, allocations: 4.094 kB / 1.215 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/1.055, allocations: 1.231 MB / 1.216 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/1.056, allocations: 315.4 kB / 1.216 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/1.056, allocations: 20.06 kB / 1.216 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/1.057, allocations: 98.44 kB / 1.216 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.057, allocations: 80.83 kB / 1.216 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.057, allocations: 43.97 kB / 1.216 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000964/1.058, allocations: 0.5771 MB / 1.217 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.058, allocations: 0 / 1.217 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001595/1.06, allocations: 447.2 kB / 1.217 GB, free: 3.543 MB / 0.9669 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.002538/1.062, allocations: 0.7154 MB / 1.218 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003564/1.066, allocations: 1.4 MB / 1.219 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.066, allocations: 0 / 1.219 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/1.067, allocations: 0.7333 MB / 1.22 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.069, allocations: 367.7 kB / 1.22 GB, free: 496 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/1.073, allocations: 2.525 MB / 1.223 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008818/1.074, allocations: 1.099 MB / 1.224 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001189/1.075, allocations: 315.7 kB / 1.224 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.076, allocations: 119.4 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/1.076, allocations: 4 kB / 1.224 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.03905/1.115, allocations: 19.84 MB / 1.244 GB, free: 8.758 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches