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.006763/0.006763, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.002027/0.002027, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.501/2.501, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7968, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1624/0.9593, allocations: 154.5 MB / 1.318 GB, free: 8.711 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.9738, allocations: 10.55 MB / 1.328 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009283/0.9747, allocations: 19.94 kB / 1.328 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.9758, allocations: 285.7 kB / 1.328 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.9788, allocations: 0.9854 MB / 1.329 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.9816, allocations: 1.092 MB / 1.33 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00215/0.9837, allocations: 1.717 MB / 1.332 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.9856, allocations: 1.15 MB / 1.333 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.9875, allocations: 0.7292 MB / 1.334 GB, free: 8.152 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009755/0.9885, allocations: 0.6224 MB / 1.334 GB, free: 7.527 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003608/0.9889, allocations: 136 kB / 1.334 GB, free: 7.395 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.9911, allocations: 1.022 MB / 1.335 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.9915, allocations: 386.8 kB / 1.336 GB, free: 5.992 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009645/0.9925, allocations: 0.6763 MB / 1.336 GB, free: 5.312 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003658/0.9962, allocations: 2.218 MB / 1.339 GB, free: 3.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9962, allocations: 3.938 kB / 1.339 GB, free: 3.086 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.397e-06/0.9962, allocations: 7.984 kB / 1.339 GB, free: 3.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.09e-05/0.9963, allocations: 0 / 1.339 GB, free: 3.078 MB / 1.061 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.003773/1, allocations: 1.747 MB / 1.34 GB, free: 1.273 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1, allocations: 12.03 kB / 1.34 GB, free: 1.262 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/1.002, allocations: 270.9 kB / 1.341 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/1.003, allocations: 0.9142 MB / 1.341 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.996e-05/1.004, allocations: 78.05 kB / 1.342 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.004, allocations: 88 kB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/1.006, allocations: 1.117 MB / 1.343 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/1.006, allocations: 0 / 1.343 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.006, allocations: 43.94 kB / 1.343 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/1.006, allocations: 24 kB / 1.343 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/1.008, allocations: 1.323 MB / 1.344 GB, free: 13.33 MB / 1.076 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.004949/1.013, allocations: 3.415 MB / 1.347 GB, free: 9.754 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/1.015, allocations: 1.1 MB / 1.348 GB, free: 8.637 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/1.016, allocations: 421.2 kB / 1.349 GB, free: 8.219 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/1.016, allocations: 142 kB / 1.349 GB, free: 8.062 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/1.017, allocations: 0.6176 MB / 1.35 GB, free: 7.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=95): time 2.405e-06/1.017, allocations: 3.938 kB / 1.35 GB, free: 7.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=95): time 0.004005/1.021, allocations: 1.636 MB / 1.351 GB, free: 5.738 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/1.021, allocations: 196.9 kB / 1.351 GB, free: 5.504 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009493/1.022, allocations: 0.8057 MB / 1.352 GB, free: 4.688 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/1.022, allocations: 45.7 kB / 1.352 GB, free: 4.637 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/1.023, allocations: 469.2 kB / 1.353 GB, free: 4.172 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/1.023, allocations: 325.2 kB / 1.353 GB, free: 3.852 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.023, allocations: 190.5 kB / 1.353 GB, free: 3.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.023, allocations: 338 kB / 1.353 GB, free: 3.324 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/1.024, allocations: 353.8 kB / 1.354 GB, free: 2.977 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/1.025, allocations: 477.6 kB / 1.354 GB, free: 2.488 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/1.026, allocations: 0.7921 MB / 1.355 GB, free: 1.684 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.026, allocations: 0 / 1.355 GB, free: 1.684 MB / 1.076 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002434/1.029, allocations: 1.088 MB / 1.356 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.029, allocations: 4 kB / 1.356 GB, free: 0.582 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.029, allocations: 0 / 1.356 GB, free: 0.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/1.03, allocations: 125.7 kB / 1.356 GB, free: 464 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/1.031, allocations: 211.7 kB / 1.356 GB, free: 252 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/1.034, allocations: 3.072 MB / 1.359 GB, free: 12.89 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/1.035, allocations: 113.7 kB / 1.36 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/1.035, allocations: 39.97 kB / 1.36 GB, free: 12.74 MB / 1.092 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.0004796/1.035, allocations: 311.3 kB / 1.36 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.035, allocations: 107.3 kB / 1.36 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/1.038, allocations: 1.318 MB / 1.361 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.038, allocations: 12 kB / 1.361 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.038, allocations: 0 / 1.361 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.038, allocations: 3.984 kB / 1.361 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/1.042, allocations: 2.424 MB / 1.364 GB, free: 8.484 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.042, allocations: 4 kB / 1.364 GB, free: 8.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/1.043, allocations: 191.7 kB / 1.364 GB, free: 8.293 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/1.044, allocations: 105.6 kB / 1.364 GB, free: 8.184 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/1.044, allocations: 27.92 kB / 1.364 GB, free: 8.156 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/1.047, allocations: 3.101 MB / 1.367 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.047, allocations: 0 / 1.367 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/1.049, allocations: 1.237 MB / 1.368 GB, free: 3.508 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/1.05, allocations: 316 kB / 1.369 GB, free: 3.18 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.05, allocations: 23.94 kB / 1.369 GB, free: 3.156 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008297/1.051, allocations: 85.94 kB / 1.369 GB, free: 3.074 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.051, allocations: 80.83 kB / 1.369 GB, free: 2.996 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/1.051, allocations: 43.97 kB / 1.369 GB, free: 2.953 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007468/1.052, allocations: 0.5693 MB / 1.369 GB, free: 2.387 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.052, allocations: 4 kB / 1.369 GB, free: 2.383 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001198/1.053, allocations: 458.9 kB / 1.37 GB, free: 1.934 MB / 1.092 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.001823/1.055, allocations: 0.7134 MB / 1.37 GB, free: 1.375 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002284/1.057, allocations: 1.15 MB / 1.372 GB, free: 204 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.057, allocations: 0 / 1.372 GB, free: 204 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.059, allocations: 0.7411 MB / 1.372 GB, free: 15.44 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.06, allocations: 361.9 kB / 1.373 GB, free: 15.11 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/1.064, allocations: 2.046 MB / 1.375 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1.065, allocations: 1.103 MB / 1.376 GB, free: 11.9 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009815/1.066, allocations: 315.6 kB / 1.376 GB, free: 11.59 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/1.066, allocations: 119.4 kB / 1.376 GB, free: 11.47 MB / 1.107 GB Notification: Performance of SimCode: time 4.71e-07/1.066, allocations: 0 / 1.376 GB, free: 11.47 MB / 1.107 GB Notification: Performance of Templates: time 0.03432/1.1, allocations: 20.2 MB / 1.396 GB, free: 7.445 MB / 1.123 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=480 -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