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.001619/0.001619, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001499/0.001498, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.665/2.665, allocations: 482.4 MB / 0.7553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 64.02 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7456/0.7475, allocations: 162.2 MB / 1.083 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06574/0.8132, allocations: 58.61 MB / 1.14 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03327/0.8465, allocations: 19.96 MB / 1.16 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.8507, allocations: 89.62 kB / 1.16 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01869/0.8695, allocations: 10.18 MB / 1.17 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008952/0.8785, allocations: 2.849 MB / 1.172 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006522/0.885, allocations: 2.292 MB / 1.175 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0221/0.9071, allocations: 13.92 MB / 1.188 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003618/0.9108, allocations: 1.76 MB / 1.19 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006183/0.917, allocations: 2.141 MB / 1.192 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.92, allocations: 1.478 MB / 1.194 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006171/0.9206, allocations: 200 kB / 1.194 GB, free: 13.24 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005657/0.9263, allocations: 2.312 MB / 1.196 GB, free: 10.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.9276, allocations: 0.8761 MB / 1.197 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.93, allocations: 1.387 MB / 1.198 GB, free: 8.652 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008427/0.9384, allocations: 4.557 MB / 1.203 GB, free: 4.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.9385, allocations: 0 / 1.203 GB, free: 4.082 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.22e-06/0.9385, allocations: 4 kB / 1.203 GB, free: 4.078 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.285e-05/0.9386, allocations: 3.938 kB / 1.203 GB, free: 4.074 MB / 0.92 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.006169/0.9448, allocations: 3.211 MB / 1.206 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.9448, allocations: 12.03 kB / 1.206 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.9503, allocations: 0.941 MB / 1.207 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/0.9582, allocations: 3.383 MB / 1.21 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.9584, allocations: 94.09 kB / 1.21 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.9587, allocations: 116 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.9619, allocations: 1.522 MB / 1.212 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.962, allocations: 0 / 1.212 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.9621, allocations: 44 kB / 1.212 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.9622, allocations: 28 kB / 1.212 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.9656, allocations: 1.339 MB / 1.213 GB, free: 9.16 MB / 0.9356 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.01135/0.977, allocations: 7.463 MB / 1.22 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00338/0.9804, allocations: 1.091 MB / 1.221 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.9817, allocations: 0.5038 MB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004517/0.9863, allocations: 3.008 MB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.9863, allocations: 43.05 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=58): time 2.494e-06/0.9863, allocations: 4 kB / 1.225 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58): time 0.005003/0.9914, allocations: 1.72 MB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.9914, allocations: 59.97 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/0.9953, allocations: 2.627 MB / 1.229 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.9955, allocations: 45.7 kB / 1.229 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.9966, allocations: 1.044 MB / 1.23 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.9969, allocations: 213.1 kB / 1.23 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000657/0.9975, allocations: 447 kB / 1.231 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9977, allocations: 305.1 kB / 1.231 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.9999, allocations: 1.156 MB / 1.232 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/1.003, allocations: 1.571 MB / 1.234 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/1.007, allocations: 2.477 MB / 1.236 GB, free: 248 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.007, allocations: 3.938 kB / 1.236 GB, free: 244 kB / 0.9512 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006342/1.013, allocations: 3.053 MB / 1.239 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/1.014, allocations: 10.5 kB / 1.239 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/1.014, allocations: 8 kB / 1.239 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/1.014, allocations: 113.2 kB / 1.239 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.016, allocations: 347.5 kB / 1.24 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006152/1.016, allocations: 0.6187 MB / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/1.018, allocations: 231.9 kB / 1.241 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/1.018, allocations: 99.95 kB / 1.241 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002908/1.021, allocations: 1.515 MB / 1.242 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002325/1.024, allocations: 1.379 MB / 1.243 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003785/1.027, allocations: 2.106 MB / 1.246 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.165e-06/1.027, allocations: 4 kB / 1.246 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005551/1.033, allocations: 2.674 MB / 1.248 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.033, allocations: 11.94 kB / 1.248 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.033, allocations: 8 kB / 1.248 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/1.034, allocations: 129 kB / 1.248 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.035, allocations: 331.5 kB / 1.249 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/1.04, allocations: 2.838 MB / 1.251 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/1.042, allocations: 192.2 kB / 1.252 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/1.042, allocations: 84.05 kB / 1.252 GB, free: 15.98 MB / 0.9825 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.0004391/1.042, allocations: 251.9 kB / 1.252 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/1.043, allocations: 236.9 kB / 1.252 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004359/1.047, allocations: 1.599 MB / 1.254 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.047, allocations: 11.98 kB / 1.254 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.047, allocations: 0 / 1.254 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.047, allocations: 7.922 kB / 1.254 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006777/1.054, allocations: 3.133 MB / 1.257 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.054, allocations: 4 kB / 1.257 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/1.055, allocations: 168 kB / 1.257 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/1.055, allocations: 80.7 kB / 1.257 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/1.055, allocations: 27.97 kB / 1.257 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000479/1.056, allocations: 0.5991 MB / 1.258 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.056, allocations: 4.031 kB / 1.258 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003773/1.06, allocations: 1.544 MB / 1.259 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008728/1.061, allocations: 433.5 kB / 1.26 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.061, allocations: 19.98 kB / 1.26 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.062, allocations: 79.86 kB / 1.26 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.062, allocations: 56.48 kB / 1.26 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.81e-05/1.062, allocations: 47.97 kB / 1.26 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002785/1.065, allocations: 1.749 MB / 1.261 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.61e-07/1.065, allocations: 0 / 1.261 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00347/1.069, allocations: 1.256 MB / 1.263 GB, free: 4.484 MB / 0.9825 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.001831/1.07, allocations: 0.7737 MB / 1.263 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007531/1.078, allocations: 3.533 MB / 1.267 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.078, allocations: 0 / 1.267 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.08, allocations: 0.586 MB / 1.267 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/1.085, allocations: 1.234 MB / 1.269 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008198/1.093, allocations: 4.292 MB / 1.273 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.095, allocations: 1.721 MB / 1.274 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008386/1.095, allocations: 207.3 kB / 1.275 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.095, allocations: 0 / 1.275 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of Templates: time 0.07994/1.175, allocations: 54.98 MB / 1.328 GB, free: 1.398 MB / 1.045 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=400 -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