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.001021/0.001021, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008548/0.008548, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.625/2.625, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004668, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8033, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.0563/0.8596, allocations: 57.06 MB / 1.079 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0307/0.8904, allocations: 19.86 MB / 1.098 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/0.8947, allocations: 79.5 kB / 1.098 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01634/0.9111, allocations: 9.791 MB / 1.108 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008501/0.9196, allocations: 2.656 MB / 1.11 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006815/0.9264, allocations: 2.081 MB / 1.112 GB, free: 4.039 MB / 0.8575 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02293/0.9494, allocations: 16.26 MB / 1.128 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003762/0.9532, allocations: 1.474 MB / 1.13 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.9598, allocations: 1.695 MB / 1.131 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/0.9647, allocations: 1.497 MB / 1.133 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.9661, allocations: 84 kB / 1.133 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007219/0.9733, allocations: 2.226 MB / 1.135 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.9755, allocations: 0.759 MB / 1.136 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/0.9786, allocations: 1.268 MB / 1.137 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.9872, allocations: 4.431 MB / 1.141 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9873, allocations: 0 / 1.141 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9873, allocations: 0 / 1.141 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.853e-05/0.9874, allocations: 0 / 1.141 GB, free: 6.242 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.006023/0.9934, allocations: 2.764 MB / 1.144 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.9935, allocations: 12.03 kB / 1.144 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.9993, allocations: 1.007 MB / 1.145 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008837/1.008, allocations: 3.461 MB / 1.148 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/1.008, allocations: 102 kB / 1.149 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/1.009, allocations: 120 kB / 1.149 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/1.012, allocations: 1.528 MB / 1.15 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.012, allocations: 3.938 kB / 1.15 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.012, allocations: 40 kB / 1.15 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/1.012, allocations: 28 kB / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/1.016, allocations: 1.37 MB / 1.152 GB, free: 11.58 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.0123/1.028, allocations: 7.039 MB / 1.158 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/1.032, allocations: 1.135 MB / 1.16 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/1.033, allocations: 0.5295 MB / 1.16 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005169/1.038, allocations: 3.043 MB / 1.163 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/1.038, allocations: 39.12 kB / 1.163 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007136/1.039, allocations: 98.95 kB / 1.163 GB, free: 14.96 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.485e-06/1.039, allocations: 4 kB / 1.163 GB, free: 14.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005541/1.045, allocations: 1.817 MB / 1.165 GB, free: 13.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/1.045, allocations: 55.97 kB / 1.165 GB, free: 13.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004344/1.049, allocations: 2.604 MB / 1.168 GB, free: 10.42 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/1.049, allocations: 49.7 kB / 1.168 GB, free: 10.36 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/1.05, allocations: 1.052 MB / 1.169 GB, free: 9.301 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/1.051, allocations: 221 kB / 1.169 GB, free: 9.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.051, allocations: 205.6 kB / 1.169 GB, free: 8.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.051, allocations: 301.1 kB / 1.169 GB, free: 8.578 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/1.053, allocations: 1.163 MB / 1.17 GB, free: 7.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002574/1.056, allocations: 1.586 MB / 1.172 GB, free: 5.672 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/1.06, allocations: 2.515 MB / 1.174 GB, free: 3.043 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.06, allocations: 4 kB / 1.174 GB, free: 3.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006015/1.066, allocations: 3.092 MB / 1.177 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002993/1.067, allocations: 348.9 kB / 1.178 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.067, allocations: 8 kB / 1.178 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/1.067, allocations: 104.8 kB / 1.178 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/1.069, allocations: 355.5 kB / 1.178 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005635/1.069, allocations: 0.6147 MB / 1.179 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/1.072, allocations: 171.3 kB / 1.179 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.072, allocations: 99.95 kB / 1.179 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.072, allocations: 4 kB / 1.179 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005033/1.077, allocations: 2.472 MB / 1.182 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.077, allocations: 12 kB / 1.182 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/1.078, allocations: 133.1 kB / 1.182 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.079, allocations: 339.5 kB / 1.182 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.083, allocations: 2.634 MB / 1.185 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.086, allocations: 164.4 kB / 1.185 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/1.086, allocations: 87.84 kB / 1.185 GB, free: 8.055 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 (166): * Single equations (assignments): 161 * 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.001874/1.088, allocations: 0.6976 MB / 1.185 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006571/1.089, allocations: 232.9 kB / 1.186 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.093, allocations: 1.659 MB / 1.187 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.093, allocations: 8 kB / 1.187 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.093, allocations: 0 / 1.187 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.093, allocations: 3.984 kB / 1.187 GB, free: 5.434 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 postOpt removeSimpleEquations (simulation): time 0.007258/1.101, allocations: 3.194 MB / 1.19 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.101, allocations: 0 / 1.19 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009418/1.102, allocations: 180 kB / 1.191 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002605/1.102, allocations: 72.72 kB / 1.191 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.24e-05/1.102, allocations: 31.97 kB / 1.191 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004536/1.102, allocations: 0.5991 MB / 1.191 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.102, allocations: 4.031 kB / 1.191 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/1.106, allocations: 1.561 MB / 1.193 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.107, allocations: 437.6 kB / 1.193 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/1.108, allocations: 12 kB / 1.193 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.109, allocations: 111.9 kB / 1.193 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/1.109, allocations: 68.36 kB / 1.193 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.109, allocations: 47.97 kB / 1.193 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002884/1.112, allocations: 1.73 MB / 1.195 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/1.112, allocations: 4 kB / 1.195 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004084/1.116, allocations: 1.244 MB / 1.196 GB, free: 11.96 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 (71): * Single equations (assignments): 62 * 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.002032/1.118, allocations: 0.7561 MB / 1.197 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007257/1.125, allocations: 3.534 MB / 1.201 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.125, allocations: 0 / 1.201 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.127, allocations: 0.6059 MB / 1.201 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/1.134, allocations: 1.137 MB / 1.202 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/1.142, allocations: 4.939 MB / 1.207 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/1.144, allocations: 1.74 MB / 1.209 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00391/1.148, allocations: 0.7273 MB / 1.21 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/1.149, allocations: 191.3 kB / 1.21 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of SimCode: time 1.513e-06/1.149, allocations: 7.938 kB / 1.21 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.6309/1.779, allocations: 51.27 MB / 1.26 GB, free: 218.5 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