Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_10_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_10_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.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 128 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.001618/0.001618, allocations: 198.3 kB / 16.53 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.61/2.61, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6942, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06088/0.7551, allocations: 58.58 MB / 1.074 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03238/0.7875, allocations: 19.94 MB / 1.094 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004917/0.7925, allocations: 95.44 kB / 1.094 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01699/0.8096, allocations: 9.81 MB / 1.104 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009484/0.8191, allocations: 2.861 MB / 1.106 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006547/0.8257, allocations: 2.31 MB / 1.109 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02266/0.8484, allocations: 14.17 MB / 1.122 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005159/0.8536, allocations: 1.764 MB / 1.124 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006317/0.8599, allocations: 2.03 MB / 1.126 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.8631, allocations: 1.497 MB / 1.128 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000943/0.8641, allocations: 200 kB / 1.128 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005684/0.8698, allocations: 2.336 MB / 1.13 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.8712, allocations: 0.8684 MB / 1.131 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.8735, allocations: 1.391 MB / 1.132 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.8821, allocations: 4.553 MB / 1.137 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.8821, allocations: 4 kB / 1.137 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.455e-06/0.8821, allocations: 0 / 1.137 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001099/0.8823, allocations: 0 / 1.137 GB, free: 7.766 MB / 0.8887 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.006905/0.8892, allocations: 3.219 MB / 1.14 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.8892, allocations: 12.03 kB / 1.14 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005813/0.8951, allocations: 0.9408 MB / 1.141 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00961/0.9047, allocations: 3.395 MB / 1.144 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.9049, allocations: 102.1 kB / 1.144 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.9052, allocations: 116 kB / 1.144 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.9084, allocations: 1.518 MB / 1.146 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.9085, allocations: 7.938 kB / 1.146 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.9086, allocations: 44 kB / 1.146 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.9086, allocations: 28 kB / 1.146 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.9119, allocations: 1.331 MB / 1.147 GB, free: 12.84 MB / 0.9044 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.01076/0.9227, allocations: 7.197 MB / 1.154 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.926, allocations: 1.084 MB / 1.155 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.9272, allocations: 0.5091 MB / 1.156 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004233/0.9315, allocations: 2.996 MB / 1.159 GB, free: 320 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.9315, allocations: 47 kB / 1.159 GB, free: 264 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=58): time 2.395e-06/0.9315, allocations: 0 / 1.159 GB, free: 264 kB / 0.9044 GB Notification: Performance of matching and sorting (n=58): time 0.004907/0.9365, allocations: 1.712 MB / 1.16 GB, free: 14.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.9365, allocations: 59.91 kB / 1.161 GB, free: 14.45 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.9409, allocations: 2.635 MB / 1.163 GB, free: 11.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.941, allocations: 49.7 kB / 1.163 GB, free: 11.74 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.942, allocations: 1.064 MB / 1.164 GB, free: 10.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.9422, allocations: 209.1 kB / 1.164 GB, free: 10.46 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/0.9428, allocations: 443 kB / 1.165 GB, free: 10.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.9429, allocations: 305.1 kB / 1.165 GB, free: 9.719 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.945, allocations: 1.153 MB / 1.166 GB, free: 8.562 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.9475, allocations: 1.559 MB / 1.168 GB, free: 6.852 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.9517, allocations: 2.477 MB / 1.17 GB, free: 4.258 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.9517, allocations: 7.938 kB / 1.17 GB, free: 4.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005965/0.9577, allocations: 3.053 MB / 1.173 GB, free: 1.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.9577, allocations: 8.938 kB / 1.173 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.9578, allocations: 12 kB / 1.173 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.9583, allocations: 100.8 kB / 1.173 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.9598, allocations: 351.5 kB / 1.174 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005734/0.9603, allocations: 0.6225 MB / 1.174 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.9626, allocations: 232.1 kB / 1.174 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.9629, allocations: 99.95 kB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002978/0.9659, allocations: 1.511 MB / 1.176 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002224/0.9681, allocations: 1.375 MB / 1.177 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003648/0.9718, allocations: 2.098 MB / 1.179 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.045e-05/0.9718, allocations: 4 kB / 1.179 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005949/0.9777, allocations: 2.682 MB / 1.182 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.9778, allocations: 11.94 kB / 1.182 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.9778, allocations: 8 kB / 1.182 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.9785, allocations: 129.1 kB / 1.182 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.9799, allocations: 335.5 kB / 1.182 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/0.9849, allocations: 2.837 MB / 1.185 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.9876, allocations: 195.5 kB / 1.185 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/0.988, allocations: 83.97 kB / 1.186 GB, free: 3.996 MB / 0.9356 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.0006376/0.9886, allocations: 248 kB / 1.186 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008266/0.9894, allocations: 232.9 kB / 1.186 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.9942, allocations: 1.6 MB / 1.188 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.9942, allocations: 8 kB / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9942, allocations: 0 / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9942, allocations: 7.984 kB / 1.188 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008535/1.003, allocations: 3.148 MB / 1.191 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.003, allocations: 0 / 1.191 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/1.004, allocations: 164 kB / 1.191 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/1.004, allocations: 76.75 kB / 1.191 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.556e-05/1.004, allocations: 27.97 kB / 1.191 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004585/1.005, allocations: 0.5991 MB / 1.191 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.005, allocations: 8 kB / 1.191 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/1.009, allocations: 1.532 MB / 1.193 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.01, allocations: 437.6 kB / 1.193 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007429/1.011, allocations: 12 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/1.012, allocations: 87.78 kB / 1.193 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.012, allocations: 56.44 kB / 1.194 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.013, allocations: 47.95 kB / 1.194 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003917/1.017, allocations: 1.753 MB / 1.195 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.01e-07/1.017, allocations: 0 / 1.195 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005016/1.022, allocations: 1.252 MB / 1.197 GB, free: 8.508 MB / 0.9512 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.002638/1.024, allocations: 0.7842 MB / 1.197 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008436/1.033, allocations: 3.521 MB / 1.201 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.033, allocations: 1.375 kB / 1.201 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/1.034, allocations: 0.5853 MB / 1.201 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/1.042, allocations: 1.239 MB / 1.203 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009829/1.052, allocations: 4.161 MB / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/1.054, allocations: 1.744 MB / 1.208 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003939/1.058, allocations: 0.6975 MB / 1.209 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008529/1.059, allocations: 203.3 kB / 1.209 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of SimCode: time 8.62e-07/1.059, allocations: 4 kB / 1.209 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.6228/1.682, allocations: 53.44 MB / 1.261 GB, free: 218.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches