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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00121/0.001211, allocations: 104.6 kB / 16.35 MB, free: 5.887 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.001713/0.001713, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.88 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.644/0.9503, allocations: 58.58 MB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03304/0.9833, allocations: 19.93 MB / 1.103 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005385/0.9888, allocations: 91.59 kB / 1.103 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.02098/1.01, allocations: 9.824 MB / 1.113 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/1.021, allocations: 2.855 MB / 1.116 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007825/1.028, allocations: 2.335 MB / 1.118 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0245/1.053, allocations: 14.2 MB / 1.132 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/1.057, allocations: 1.749 MB / 1.134 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005908/1.062, allocations: 2.034 MB / 1.136 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/1.066, allocations: 1.513 MB / 1.137 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007414/1.067, allocations: 200.2 kB / 1.137 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/1.074, allocations: 2.331 MB / 1.14 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001384/1.075, allocations: 0.8735 MB / 1.14 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002735/1.078, allocations: 1.391 MB / 1.142 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01053/1.089, allocations: 4.592 MB / 1.146 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.089, allocations: 1.375 kB / 1.146 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/1.089, allocations: 0 / 1.146 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001194/1.089, allocations: 0 / 1.146 GB, free: 10.85 MB / 0.8575 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.00837/1.097, allocations: 3.222 MB / 1.149 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.097, allocations: 13.31 kB / 1.149 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005798/1.103, allocations: 0.9411 MB / 1.15 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008757/1.112, allocations: 3.461 MB / 1.154 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.112, allocations: 91.22 kB / 1.154 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/1.112, allocations: 121.2 kB / 1.154 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/1.115, allocations: 1.522 MB / 1.155 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.116, allocations: 6.375 kB / 1.155 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/1.116, allocations: 40.59 kB / 1.156 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/1.116, allocations: 25.75 kB / 1.156 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/1.119, allocations: 1.337 MB / 1.157 GB, free: 4 MB / 0.8575 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.0114/1.13, allocations: 7.139 MB / 1.164 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/1.133, allocations: 1.02 MB / 1.165 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.134, allocations: 0.5031 MB / 1.165 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004884/1.139, allocations: 3.003 MB / 1.168 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.139, allocations: 39.12 kB / 1.168 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 2.615e-06/1.139, allocations: 0 / 1.168 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.004799/1.144, allocations: 1.708 MB / 1.17 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/1.144, allocations: 63.97 kB / 1.17 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003841/1.148, allocations: 2.632 MB / 1.173 GB, free: 6.141 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/1.148, allocations: 41.7 kB / 1.173 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/1.149, allocations: 1.056 MB / 1.174 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/1.149, allocations: 215.2 kB / 1.174 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006216/1.15, allocations: 438.3 kB / 1.174 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.15, allocations: 309.1 kB / 1.175 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/1.152, allocations: 1.153 MB / 1.176 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/1.154, allocations: 1.559 MB / 1.177 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/1.158, allocations: 2.457 MB / 1.18 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/1.158, allocations: 8 kB / 1.18 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005537/1.164, allocations: 3.045 MB / 1.183 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/1.164, allocations: 14.66 kB / 1.183 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.164, allocations: 8 kB / 1.183 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/1.164, allocations: 100.8 kB / 1.183 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.166, allocations: 347.5 kB / 1.183 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005098/1.166, allocations: 0.6186 MB / 1.184 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.168, allocations: 226.8 kB / 1.184 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/1.168, allocations: 103.9 kB / 1.184 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002535/1.171, allocations: 1.499 MB / 1.185 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001938/1.173, allocations: 1.375 MB / 1.187 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003177/1.176, allocations: 2.086 MB / 1.189 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.835e-06/1.176, allocations: 7.938 kB / 1.189 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005197/1.181, allocations: 2.678 MB / 1.191 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.181, allocations: 8 kB / 1.191 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.181, allocations: 11.94 kB / 1.191 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/1.182, allocations: 120.8 kB / 1.192 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.183, allocations: 339.8 kB / 1.192 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/1.188, allocations: 2.833 MB / 1.195 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/1.19, allocations: 190.9 kB / 1.195 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/1.191, allocations: 79.97 kB / 1.195 GB, free: 14.46 MB / 0.9044 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.0006048/1.191, allocations: 251.9 kB / 1.195 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007704/1.192, allocations: 232.9 kB / 1.195 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/1.196, allocations: 1.587 MB / 1.197 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/1.196, allocations: 19.92 kB / 1.197 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.196, allocations: 0 / 1.197 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/1.196, allocations: 7.984 kB / 1.197 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/1.203, allocations: 3.122 MB / 1.2 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.203, allocations: 0 / 1.2 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/1.204, allocations: 168 kB / 1.2 GB, free: 9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/1.204, allocations: 72.81 kB / 1.2 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/1.204, allocations: 27.97 kB / 1.2 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/1.204, allocations: 0.603 MB / 1.201 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.204, allocations: 3.938 kB / 1.201 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/1.208, allocations: 1.527 MB / 1.202 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.209, allocations: 441.5 kB / 1.203 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/1.21, allocations: 12 kB / 1.203 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.211, allocations: 79.91 kB / 1.203 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.211, allocations: 60.38 kB / 1.203 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.211, allocations: 43.97 kB / 1.203 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002713/1.214, allocations: 1.765 MB / 1.205 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.214, allocations: 0 / 1.205 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004107/1.218, allocations: 1.24 MB / 1.206 GB, free: 3.039 MB / 0.9044 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.001909/1.22, allocations: 0.7747 MB / 1.207 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006776/1.227, allocations: 3.467 MB / 1.21 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.227, allocations: 0 / 1.21 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/1.228, allocations: 0.5867 MB / 1.211 GB, free: 14.24 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/1.234, allocations: 1.236 MB / 1.212 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/1.242, allocations: 4.099 MB / 1.216 GB, free: 8.898 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.243, allocations: 1.732 MB / 1.217 GB, free: 7.129 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002988/1.246, allocations: 0.7114 MB / 1.218 GB, free: 6.418 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.247, allocations: 195.3 kB / 1.218 GB, free: 6.227 MB / 0.92 GB Notification: Performance of SimCode: time 1.082e-06/1.247, allocations: 0 / 1.218 GB, free: 6.227 MB / 0.92 GB Notification: Performance of Templates: time 0.08856/1.336, allocations: 53.43 MB / 1.271 GB, free: 1.414 MB / 0.9669 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 -s cvode -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/jenkins1/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