Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 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.001159/0.001159, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.84 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3274, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05682/0.3843, allocations: 58.57 MB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03041/0.4147, allocations: 19.96 MB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.4185, allocations: 91.5 kB / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01667/0.4352, allocations: 9.814 MB / 1.155 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008753/0.444, allocations: 2.861 MB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008435/0.4525, allocations: 2.306 MB / 1.16 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02291/0.4754, allocations: 14.18 MB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/0.4795, allocations: 1.76 MB / 1.175 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005525/0.485, allocations: 2.026 MB / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.4878, allocations: 1.509 MB / 1.179 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008536/0.4887, allocations: 196 kB / 1.179 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005523/0.4942, allocations: 2.32 MB / 1.181 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.4956, allocations: 0.8723 MB / 1.182 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002689/0.4983, allocations: 1.395 MB / 1.183 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.5069, allocations: 4.557 MB / 1.188 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5069, allocations: 0 / 1.188 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.924e-06/0.507, allocations: 0 / 1.188 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001529/0.5071, allocations: 0 / 1.188 GB, free: 15.67 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.008465/0.5156, allocations: 3.226 MB / 1.191 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5157, allocations: 11.98 kB / 1.191 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005755/0.5214, allocations: 0.9409 MB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008292/0.5297, allocations: 3.388 MB / 1.195 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.5299, allocations: 102.1 kB / 1.195 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/0.5303, allocations: 120 kB / 1.195 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.5338, allocations: 1.514 MB / 1.197 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.5338, allocations: 4 kB / 1.197 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.534, allocations: 40 kB / 1.197 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.534, allocations: 28 kB / 1.197 GB, free: 6.078 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003699/0.5377, allocations: 1.343 MB / 1.198 GB, free: 4.73 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.01216/0.5499, allocations: 7.2 MB / 1.205 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.5534, allocations: 1.084 MB / 1.206 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.5547, allocations: 0.5047 MB / 1.207 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004744/0.5595, allocations: 3 MB / 1.21 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.5596, allocations: 47.05 kB / 1.21 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=58): time 4.548e-06/0.5596, allocations: 0 / 1.21 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58): time 0.005329/0.5649, allocations: 1.72 MB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.565, allocations: 59.97 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/0.5693, allocations: 2.636 MB / 1.214 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.5695, allocations: 37.7 kB / 1.214 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009876/0.5705, allocations: 1.048 MB / 1.215 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.5708, allocations: 225 kB / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007733/0.5716, allocations: 435.1 kB / 1.216 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.5717, allocations: 309.1 kB / 1.216 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.5739, allocations: 1.16 MB / 1.217 GB, free: 464 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/0.5765, allocations: 1.563 MB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004238/0.5808, allocations: 2.469 MB / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.5808, allocations: 0 / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005875/0.5867, allocations: 3.053 MB / 1.224 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.5867, allocations: 8 kB / 1.224 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.5868, allocations: 12.42 kB / 1.224 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.5873, allocations: 108.8 kB / 1.224 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.5888, allocations: 351.5 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005296/0.5893, allocations: 0.6147 MB / 1.225 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.5915, allocations: 235 kB / 1.225 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.5917, allocations: 103.9 kB / 1.225 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002904/0.5946, allocations: 1.507 MB / 1.227 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002201/0.5968, allocations: 1.374 MB / 1.228 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003547/0.6004, allocations: 2.102 MB / 1.23 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.498e-06/0.6004, allocations: 4 kB / 1.23 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005301/0.6057, allocations: 2.682 MB / 1.233 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6057, allocations: 15.88 kB / 1.233 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.6058, allocations: 8 kB / 1.233 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.6063, allocations: 129.2 kB / 1.233 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.6077, allocations: 335.5 kB / 1.233 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.612, allocations: 2.821 MB / 1.236 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.614, allocations: 189 kB / 1.236 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.6142, allocations: 83.97 kB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004682/0.6147, allocations: 259.9 kB / 1.237 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006783/0.6154, allocations: 236.9 kB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/0.6198, allocations: 1.592 MB / 1.238 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.6198, allocations: 8 kB / 1.238 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.6199, allocations: 4 kB / 1.238 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6199, allocations: 3.984 kB / 1.238 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/0.6268, allocations: 3.137 MB / 1.242 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.6268, allocations: 8.031 kB / 1.242 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.6277, allocations: 167.8 kB / 1.242 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002586/0.628, allocations: 68.73 kB / 1.242 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/0.6281, allocations: 35.91 kB / 1.242 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003936/0.6285, allocations: 0.5991 MB / 1.242 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6285, allocations: 4 kB / 1.242 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.6321, allocations: 1.547 MB / 1.244 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009019/0.6331, allocations: 437.6 kB / 1.244 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.6335, allocations: 24 kB / 1.244 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.6349, allocations: 75.83 kB / 1.244 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.6351, allocations: 64.42 kB / 1.245 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.6352, allocations: 43.97 kB / 1.245 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003352/0.6386, allocations: 1.757 MB / 1.246 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6386, allocations: 0 / 1.246 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003795/0.6424, allocations: 1.244 MB / 1.247 GB, free: 432 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.5103/1.153, allocations: 0.7687 MB / 1.248 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008382/1.161, allocations: 3.521 MB / 1.252 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.161, allocations: 1 kB / 1.252 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00177/1.163, allocations: 0.5919 MB / 1.252 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005888/1.169, allocations: 1.23 MB / 1.253 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/1.177, allocations: 4.168 MB / 1.258 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.179, allocations: 1.738 MB / 1.259 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004145/1.183, allocations: 0.7026 MB / 1.26 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/1.184, allocations: 201.8 kB / 1.26 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/1.184, allocations: 0 / 1.26 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.09274/1.276, allocations: 53.46 MB / 1.312 GB, free: 145.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches