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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001067/0.001067, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001375, allocations: 175.1 kB / 16.92 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.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003613, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7651, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.214/0.9792, allocations: 188.8 MB / 1.208 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02344/1.003, allocations: 14.11 MB / 1.222 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/1.005, allocations: 39.75 kB / 1.222 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/1.017, allocations: 5.854 MB / 1.228 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008802/1.026, allocations: 2.148 MB / 1.23 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/1.03, allocations: 1.116 MB / 1.231 GB, free: 11.03 MB / 0.9825 GB [/var/lib/jenkins1/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.01427/1.044, allocations: 9.712 MB / 1.24 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/1.046, allocations: 0.7971 MB / 1.241 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7726/1.819, allocations: 1.133 MB / 1.242 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/1.822, allocations: 0.9576 MB / 1.243 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002846/1.822, allocations: 55.56 kB / 1.243 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006145/1.828, allocations: 2.557 MB / 1.246 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/1.829, allocations: 0.5671 MB / 1.246 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/1.831, allocations: 0.7849 MB / 1.247 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004974/1.836, allocations: 2.366 MB / 1.249 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.836, allocations: 0.5625 kB / 1.249 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.134e-06/1.836, allocations: 0 / 1.249 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.776e-05/1.836, allocations: 3.625 kB / 1.249 GB, free: 14.71 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.004315/1.84, allocations: 1.824 MB / 1.251 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.84, allocations: 15.08 kB / 1.251 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/1.844, allocations: 0.6227 MB / 1.252 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005471/1.85, allocations: 2.036 MB / 1.254 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.85, allocations: 58.8 kB / 1.254 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/1.85, allocations: 64.72 kB / 1.254 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/1.853, allocations: 0.9616 MB / 1.255 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.853, allocations: 4.438 kB / 1.255 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/1.853, allocations: 27.08 kB / 1.255 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/1.853, allocations: 23.36 kB / 1.255 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/1.855, allocations: 0.7819 MB / 1.256 GB, free: 12.96 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.007366/1.862, allocations: 4.203 MB / 1.26 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/1.865, allocations: 0.6643 MB / 1.26 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/1.865, allocations: 313.4 kB / 1.261 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/1.866, allocations: 196.5 kB / 1.261 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.866, allocations: 36.69 kB / 1.261 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008218/1.866, allocations: 79.69 kB / 1.261 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/1.867, allocations: 0 / 1.261 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.00327/1.87, allocations: 1.181 MB / 1.262 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/1.87, allocations: 54.44 kB / 1.262 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/1.872, allocations: 1.644 MB / 1.264 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.47e-05/1.872, allocations: 35.55 kB / 1.264 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/1.873, allocations: 0.6595 MB / 1.264 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/1.873, allocations: 126.3 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.873, allocations: 112.1 kB / 1.265 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/1.873, allocations: 344.7 kB / 1.265 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/1.874, allocations: 0.7241 MB / 1.266 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/1.876, allocations: 0.9789 MB / 1.267 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/1.878, allocations: 1.595 MB / 1.268 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.878, allocations: 1.625 kB / 1.268 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003317/1.881, allocations: 1.983 MB / 1.27 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.881, allocations: 258.6 kB / 1.27 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.882, allocations: 10.09 kB / 1.27 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/1.882, allocations: 201.1 kB / 1.271 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/1.883, allocations: 194.9 kB / 1.271 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004982/1.883, allocations: 0.7115 MB / 1.271 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/1.885, allocations: 94.98 kB / 1.272 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/1.885, allocations: 53.3 kB / 1.272 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/1.885, allocations: 6.312 kB / 1.272 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002668/1.888, allocations: 1.634 MB / 1.273 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.888, allocations: 6.344 kB / 1.273 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/1.888, allocations: 243 kB / 1.273 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/1.889, allocations: 194.2 kB / 1.274 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005359/1.89, allocations: 0.8592 MB / 1.274 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.891, allocations: 89.78 kB / 1.275 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/1.891, allocations: 46.17 kB / 1.275 GB, free: 7.633 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.0009519/1.892, allocations: 0.5116 MB / 1.275 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.892, allocations: 144.5 kB / 1.275 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/1.894, allocations: 0.8178 MB / 1.276 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.894, allocations: 3.156 kB / 1.276 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.894, allocations: 3.188 kB / 1.276 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.894, allocations: 2.906 kB / 1.276 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/1.897, allocations: 1.936 MB / 1.278 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.897, allocations: 3.125 kB / 1.278 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/1.898, allocations: 103.1 kB / 1.278 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/1.898, allocations: 79.03 kB / 1.278 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/1.898, allocations: 19.23 kB / 1.278 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003672/1.898, allocations: 0.6801 MB / 1.279 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.899, allocations: 0 / 1.279 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/1.901, allocations: 1.305 MB / 1.28 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005065/1.901, allocations: 274.1 kB / 1.28 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/1.902, allocations: 16.48 kB / 1.28 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/1.902, allocations: 68.25 kB / 1.28 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/1.903, allocations: 36.36 kB / 1.28 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/1.903, allocations: 21.88 kB / 1.28 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001582/1.904, allocations: 1.115 MB / 1.282 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/1.904, allocations: 3.594 kB / 1.282 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002251/1.906, allocations: 0.687 MB / 1.282 GB, free: 5.637 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.001206/1.908, allocations: 482.1 kB / 1.283 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003401/1.911, allocations: 1.983 MB / 1.285 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.911, allocations: 0 / 1.285 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008385/1.912, allocations: 326.2 kB / 1.285 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.916, allocations: 0.7704 MB / 1.286 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/1.921, allocations: 3.179 MB / 1.289 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/1.922, allocations: 1.311 MB / 1.29 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/1.922, allocations: 115.3 kB / 1.29 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/1.922, allocations: 0 / 1.29 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of Templates: time 0.04983/1.972, allocations: 32.42 MB / 1.322 GB, free: 8.855 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches