Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_10_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.001175/0.001175, allocations: 97.64 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.009678/0.009678, allocations: 170 kB / 16.27 MB, free: 6.652 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.727/2.727, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7685, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2125/0.9811, allocations: 188.8 MB / 1.207 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02443/1.006, allocations: 14.11 MB / 1.221 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003269/1.009, allocations: 31.81 kB / 1.221 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01166/1.021, allocations: 5.86 MB / 1.227 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007022/1.028, allocations: 2.152 MB / 1.229 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003641/1.031, allocations: 1.108 MB / 1.23 GB, free: 11.03 MB / 0.9825 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.945419103313839, 2.83300844704353, 4.71734892787522, 5.585354163943464}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01386/1.045, allocations: 9.717 MB / 1.24 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/1.047, allocations: 0.7932 MB / 1.24 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7771/1.824, allocations: 1.141 MB / 1.241 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004104/1.828, allocations: 0.9539 MB / 1.242 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006529/1.829, allocations: 56.44 kB / 1.242 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/1.839, allocations: 2.561 MB / 1.245 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001859/1.841, allocations: 0.564 MB / 1.246 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002933/1.844, allocations: 0.7835 MB / 1.246 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01181/1.856, allocations: 3.214 MB / 1.249 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.856, allocations: 0 / 1.249 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.045e-06/1.856, allocations: 0 / 1.249 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001205/1.856, allocations: 1.188 kB / 1.249 GB, free: 14.64 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.007664/1.864, allocations: 1.822 MB / 1.251 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.864, allocations: 12.52 kB / 1.251 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007527/1.871, allocations: 0.6197 MB / 1.252 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/1.884, allocations: 2.038 MB / 1.254 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004773/1.885, allocations: 59.38 kB / 1.254 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/1.886, allocations: 65.94 kB / 1.254 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006805/1.893, allocations: 0.9636 MB / 1.255 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/1.893, allocations: 0 / 1.255 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000402/1.893, allocations: 27.67 kB / 1.255 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.692e-05/1.893, allocations: 23.48 kB / 1.255 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/1.897, allocations: 0.7825 MB / 1.256 GB, free: 12.88 MB / 0.9825 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.01132/1.908, allocations: 4.208 MB / 1.26 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/1.912, allocations: 0.6554 MB / 1.26 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/1.913, allocations: 313.8 kB / 1.261 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004425/1.914, allocations: 193.4 kB / 1.261 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/1.914, allocations: 43.53 kB / 1.261 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001463/1.915, allocations: 83.8 kB / 1.261 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 8.356e-06/1.915, allocations: 0 / 1.261 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.006026/1.921, allocations: 1.172 MB / 1.262 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/1.921, allocations: 58.44 kB / 1.262 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005489/1.927, allocations: 1.649 MB / 1.264 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/1.927, allocations: 36.23 kB / 1.264 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/1.928, allocations: 0.6541 MB / 1.265 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/1.928, allocations: 126.3 kB / 1.265 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/1.929, allocations: 115.1 kB / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.929, allocations: 348.4 kB / 1.265 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.931, allocations: 0.7262 MB / 1.266 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/1.934, allocations: 0.9765 MB / 1.267 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/1.938, allocations: 1.587 MB / 1.268 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/1.938, allocations: 1.5 kB / 1.268 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005929/1.944, allocations: 1.985 MB / 1.27 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.944, allocations: 269 kB / 1.271 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/1.944, allocations: 3.375 kB / 1.271 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007543/1.945, allocations: 205.1 kB / 1.271 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.947, allocations: 195 kB / 1.271 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/1.947, allocations: 0.703 MB / 1.272 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/1.95, allocations: 91.88 kB / 1.272 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/1.95, allocations: 61.02 kB / 1.272 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.95, allocations: 7.375 kB / 1.272 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004973/1.955, allocations: 1.626 MB / 1.273 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.955, allocations: 5.125 kB / 1.273 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/1.956, allocations: 250.9 kB / 1.274 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/1.958, allocations: 188.7 kB / 1.274 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009428/1.959, allocations: 0.8649 MB / 1.275 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/1.961, allocations: 85.27 kB / 1.275 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/1.961, allocations: 47.72 kB / 1.275 GB, free: 7.543 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (89): * Single equations (assignments): 86 * 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.00145/1.963, allocations: 0.5159 MB / 1.275 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/1.963, allocations: 146.6 kB / 1.275 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00328/1.967, allocations: 0.8167 MB / 1.276 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/1.967, allocations: 5.125 kB / 1.276 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.967, allocations: 0 / 1.276 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.967, allocations: 0 / 1.276 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/1.973, allocations: 1.939 MB / 1.278 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.973, allocations: 3.125 kB / 1.278 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/1.974, allocations: 96.84 kB / 1.278 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003541/1.975, allocations: 82.22 kB / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/1.975, allocations: 15.05 kB / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006745/1.975, allocations: 0.682 MB / 1.279 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.975, allocations: 4.719 kB / 1.279 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/1.98, allocations: 1.3 MB / 1.28 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.981, allocations: 275.5 kB / 1.28 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006122/1.982, allocations: 16.14 kB / 1.28 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.983, allocations: 62.75 kB / 1.281 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.984, allocations: 33.44 kB / 1.281 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/1.984, allocations: 27.53 kB / 1.281 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003447/1.987, allocations: 1.119 MB / 1.282 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.91e-07/1.987, allocations: 0 / 1.282 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004658/1.992, allocations: 0.6874 MB / 1.282 GB, free: 5.547 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mov.filter.s[1],mov.filter.s[2]) * 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 (31): * Single equations (assignments): 30 * 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.002368/1.994, allocations: 492 kB / 1.283 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006306/2.001, allocations: 1.983 MB / 1.285 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.001, allocations: 0 / 1.285 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/2.002, allocations: 321.7 kB / 1.285 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006169/2.008, allocations: 0.766 MB / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/2.015, allocations: 3.113 MB / 1.289 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007484/2.016, allocations: 1.32 MB / 1.29 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002019/2.018, allocations: 436.7 kB / 1.291 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/2.018, allocations: 106.6 kB / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/2.018, allocations: 0 / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of Templates: time 0.05599/2.074, allocations: 31.95 MB / 1.322 GB, free: 9.418 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches