Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.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.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001893/0.001893, allocations: 190.2 kB / 16.25 MB, free: 6.633 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 482.3 MB / 0.7543 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 71.09 kB / 0.9233 GB, free: 29.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4312, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 1.079/1.51, allocations: 191.1 MB / 1.268 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02023/1.53, allocations: 14.05 MB / 1.282 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/1.533, allocations: 40.69 kB / 1.282 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01411/1.547, allocations: 7.05 MB / 1.289 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00801/1.555, allocations: 2.15 MB / 1.291 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/1.56, allocations: 1.122 MB / 1.292 GB, free: 7.363 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.945419103313839, 2.83300844704353, 4.71734892787522, 5.585354163943464}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01415/1.574, allocations: 7.893 MB / 1.3 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/1.576, allocations: 0.9252 MB / 1.301 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/1.58, allocations: 1.481 MB / 1.302 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/1.583, allocations: 1.002 MB / 1.303 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003467/1.583, allocations: 120.5 kB / 1.303 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006589/1.59, allocations: 2.415 MB / 1.306 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009275/1.591, allocations: 0.624 MB / 1.306 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.592, allocations: 0.8284 MB / 1.307 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00803/1.6, allocations: 3.292 MB / 1.31 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.6, allocations: 0 / 1.31 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.6, allocations: 3.25 kB / 1.31 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.741e-05/1.6, allocations: 0 / 1.31 GB, free: 6.648 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.005469/1.606, allocations: 2.065 MB / 1.312 GB, free: 21.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.606, allocations: 10.28 kB / 1.312 GB, free: 21.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/1.61, allocations: 0.5829 MB / 1.313 GB, free: 21.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/1.615, allocations: 2.006 MB / 1.315 GB, free: 20.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.615, allocations: 53.02 kB / 1.315 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/1.615, allocations: 64.69 kB / 1.315 GB, free: 20.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/1.617, allocations: 0.9498 MB / 1.316 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.617, allocations: 10.36 kB / 1.316 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/1.617, allocations: 27.94 kB / 1.316 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/1.617, allocations: 20.97 kB / 1.316 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.619, allocations: 0.7563 MB / 1.317 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/1.626, allocations: 4.258 MB / 1.321 GB, free: 18.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/1.628, allocations: 0.6305 MB / 1.321 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/1.628, allocations: 304 kB / 1.322 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/1.629, allocations: 196 kB / 1.322 GB, free: 18.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.629, allocations: 35.66 kB / 1.322 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007858/1.63, allocations: 68.61 kB / 1.322 GB, free: 18.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 3.006e-06/1.63, allocations: 0 / 1.322 GB, free: 18.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.003383/1.633, allocations: 1.182 MB / 1.323 GB, free: 18.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/1.633, allocations: 54.44 kB / 1.323 GB, free: 18.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/1.635, allocations: 1.638 MB / 1.325 GB, free: 17.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/1.635, allocations: 31.8 kB / 1.325 GB, free: 17.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/1.636, allocations: 0.6499 MB / 1.326 GB, free: 17.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.636, allocations: 109.6 kB / 1.326 GB, free: 17.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/1.636, allocations: 239.9 kB / 1.326 GB, free: 16.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.636, allocations: 345.2 kB / 1.326 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/1.637, allocations: 0.7363 MB / 1.327 GB, free: 16.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.639, allocations: 0.9653 MB / 1.328 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/1.641, allocations: 1.578 MB / 1.329 GB, free: 15.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.641, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003091/1.644, allocations: 1.979 MB / 1.331 GB, free: 14.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.644, allocations: 9.156 kB / 1.331 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.644, allocations: 5.375 kB / 1.331 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/1.644, allocations: 205.7 kB / 1.332 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000753/1.645, allocations: 181.1 kB / 1.332 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000671/1.646, allocations: 0.7081 MB / 1.332 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.647, allocations: 100.9 kB / 1.332 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.647, allocations: 56.33 kB / 1.333 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001657/1.649, allocations: 0.9924 MB / 1.334 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/1.65, allocations: 0.8625 MB / 1.334 GB, free: 12.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002097/1.652, allocations: 1.369 MB / 1.336 GB, free: 12.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.652, allocations: 3.938 kB / 1.336 GB, free: 12.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.003418/1.656, allocations: 1.787 MB / 1.337 GB, free: 11.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.656, allocations: 7.188 kB / 1.337 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.656, allocations: 10.77 kB / 1.337 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000723/1.657, allocations: 243.1 kB / 1.338 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/1.657, allocations: 180.3 kB / 1.338 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/1.658, allocations: 0.8653 MB / 1.339 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.66, allocations: 98.66 kB / 1.339 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/1.66, allocations: 47.36 kB / 1.339 GB, free: 10.65 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (86): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003908/1.66, allocations: 217.4 kB / 1.339 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/1.66, allocations: 141.6 kB / 1.339 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.663, allocations: 0.8329 MB / 1.34 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.663, allocations: 4.188 kB / 1.34 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.663, allocations: 0 / 1.34 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.663, allocations: 5.734 kB / 1.34 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/1.667, allocations: 1.88 MB / 1.342 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.667, allocations: 0 / 1.342 GB, free: 9.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/1.667, allocations: 92.95 kB / 1.342 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/1.668, allocations: 84.3 kB / 1.342 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/1.668, allocations: 12.59 kB / 1.342 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006146/1.668, allocations: 0.6778 MB / 1.343 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.668, allocations: 2.719 kB / 1.343 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/1.671, allocations: 1.289 MB / 1.344 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/1.672, allocations: 281.2 kB / 1.344 GB, free: 7.758 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/1.672, allocations: 10.53 kB / 1.344 GB, free: 7.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007785/1.673, allocations: 68.05 kB / 1.344 GB, free: 7.738 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.673, allocations: 25.95 kB / 1.344 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/1.673, allocations: 23.69 kB / 1.344 GB, free: 7.734 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001765/1.675, allocations: 1.11 MB / 1.345 GB, free: 7.305 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.675, allocations: 0 / 1.345 GB, free: 7.305 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002263/1.677, allocations: 0.6857 MB / 1.346 GB, free: 7.188 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (mov.motSpe.y) * 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 (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001257/1.678, allocations: 462.9 kB / 1.347 GB, free: 7.039 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.682, allocations: 1.996 MB / 1.348 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.682, allocations: 0 / 1.348 GB, free: 6.406 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/1.683, allocations: 327.5 kB / 1.349 GB, free: 6.332 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.686, allocations: 0.83 MB / 1.35 GB, free: 6.066 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/1.693, allocations: 3.161 MB / 1.353 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.694, allocations: 1.31 MB / 1.354 GB, free: 3.516 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002035/1.696, allocations: 415.9 kB / 1.354 GB, free: 3.309 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/1.697, allocations: 115.6 kB / 1.354 GB, free: 3.285 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.697, allocations: 0 / 1.354 GB, free: 3.285 MB / 1.014 GB Notification: Performance of Templates: time 0.06398/1.761, allocations: 33.2 MB / 1.387 GB, free: 8.715 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches