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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009906/0.0009907, allocations: 92.31 kB / 16.02 MB, free: 80 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.001308/0.001308, allocations: 182.5 kB / 16.92 MB, free: 6.652 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.9 MB / 0.667 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7159, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1741/0.8901, allocations: 149.7 MB / 1.102 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.9056, allocations: 10.37 MB / 1.112 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.907, allocations: 23.88 kB / 1.112 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.9081, allocations: 218.5 kB / 1.112 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.9114, allocations: 0.7882 MB / 1.113 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.9145, allocations: 0.9473 MB / 1.114 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.9169, allocations: 1.62 MB / 1.116 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.9189, allocations: 1.033 MB / 1.117 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.9212, allocations: 0.525 MB / 1.117 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009648/0.9222, allocations: 489.4 kB / 1.118 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003042/0.9225, allocations: 32 kB / 1.118 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.9248, allocations: 0.9321 MB / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.9252, allocations: 262.8 kB / 1.119 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007692/0.9259, allocations: 0.5452 MB / 1.119 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.9282, allocations: 1.57 MB / 1.121 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.9283, allocations: 0 / 1.121 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9283, allocations: 0 / 1.121 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.421e-05/0.9283, allocations: 4 kB / 1.121 GB, free: 5.652 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.003378/0.9317, allocations: 1.442 MB / 1.122 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.9318, allocations: 12.03 kB / 1.122 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.9337, allocations: 274.1 kB / 1.122 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.9354, allocations: 0.8822 MB / 1.123 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.9355, allocations: 74 kB / 1.123 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.9357, allocations: 92 kB / 1.124 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.938, allocations: 1.123 MB / 1.125 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.938, allocations: 3.938 kB / 1.125 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.9382, allocations: 40 kB / 1.125 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.9382, allocations: 24 kB / 1.125 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.9406, allocations: 1.339 MB / 1.126 GB, free: 220 kB / 0.8731 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.005909/0.9465, allocations: 3.261 MB / 1.129 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.9487, allocations: 1.118 MB / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.9495, allocations: 432 kB / 1.131 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.9498, allocations: 142 kB / 1.131 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.951, allocations: 0.6255 MB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=95): time 3.677e-06/0.951, allocations: 0 / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95): time 0.004367/0.9554, allocations: 1.659 MB / 1.133 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.9555, allocations: 196.9 kB / 1.133 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.9567, allocations: 0.8095 MB / 1.134 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.9568, allocations: 53.64 kB / 1.134 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.9572, allocations: 460.5 kB / 1.135 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.9575, allocations: 315.5 kB / 1.135 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.9576, allocations: 73.67 kB / 1.135 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9578, allocations: 345.9 kB / 1.135 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/0.9585, allocations: 361.8 kB / 1.136 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.9594, allocations: 485.6 kB / 1.136 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.9609, allocations: 0.8038 MB / 1.137 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.9609, allocations: 0 / 1.137 GB, free: 4.801 MB / 0.8887 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002553/0.9635, allocations: 1.111 MB / 1.138 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.9635, allocations: 5.562 kB / 1.138 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9635, allocations: 0 / 1.138 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007395/0.9642, allocations: 113.6 kB / 1.138 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.9652, allocations: 219.6 kB / 1.138 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.9682, allocations: 2.851 MB / 1.141 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9693, allocations: 128.2 kB / 1.141 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.9694, allocations: 43.97 kB / 1.141 GB, free: 44 kB / 0.8887 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.000668/0.9701, allocations: 311.5 kB / 1.141 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.9703, allocations: 98.78 kB / 1.142 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.9732, allocations: 1.345 MB / 1.143 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.9733, allocations: 8 kB / 1.143 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9733, allocations: 3.984 kB / 1.143 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.9733, allocations: 7.984 kB / 1.143 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.9775, allocations: 2.434 MB / 1.145 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.9775, allocations: 4 kB / 1.145 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/0.9783, allocations: 199.7 kB / 1.145 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006528/0.979, allocations: 109.6 kB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/0.9791, allocations: 35.97 kB / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.9819, allocations: 2.883 MB / 1.148 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9819, allocations: 0 / 1.148 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.9846, allocations: 1.254 MB / 1.15 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/0.9851, allocations: 331.3 kB / 1.15 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.9853, allocations: 20 kB / 1.15 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/0.9862, allocations: 96.09 kB / 1.15 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.9865, allocations: 88.81 kB / 1.15 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.9866, allocations: 47.95 kB / 1.15 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008237/0.9875, allocations: 0.5693 MB / 1.151 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9875, allocations: 4 kB / 1.151 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001192/0.9887, allocations: 439.1 kB / 1.151 GB, free: 5.387 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.001658/0.9903, allocations: 0.7273 MB / 1.152 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.9926, allocations: 1.154 MB / 1.153 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9926, allocations: 0 / 1.153 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.9939, allocations: 0.7528 MB / 1.154 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.9955, allocations: 319.9 kB / 1.154 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/1, allocations: 2.708 MB / 1.157 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/1.001, allocations: 1.095 MB / 1.158 GB, free: 14.72 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/1.002, allocations: 135.4 kB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of SimCode: time 7.92e-07/1.002, allocations: 0 / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of Templates: time 0.03392/1.035, allocations: 27.07 MB / 1.184 GB, free: 3.57 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/jenkins1/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