Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_11_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.001745/0.001746, allocations: 108.5 kB / 15.99 MB, free: 5.91 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.001767/0.001767, allocations: 192.5 kB / 16.91 MB, free: 5.754 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 64.25 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.83/1.196, allocations: 191.1 MB / 1.251 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02139/1.217, allocations: 14.04 MB / 1.264 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/1.22, allocations: 39.75 kB / 1.264 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01353/1.233, allocations: 6.032 MB / 1.27 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007048/1.241, allocations: 2.165 MB / 1.272 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/1.244, allocations: 1.133 MB / 1.274 GB, free: 2.641 MB / 0.9825 GB [/var/lib/jenkins1/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.01388/1.258, allocations: 8.901 MB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/1.26, allocations: 0.9419 MB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/1.263, allocations: 1.339 MB / 1.284 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/1.266, allocations: 1.026 MB / 1.285 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/1.266, allocations: 124 kB / 1.286 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005092/1.271, allocations: 2.428 MB / 1.288 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008415/1.272, allocations: 0.635 MB / 1.289 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/1.273, allocations: 0.8473 MB / 1.289 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004012/1.277, allocations: 2.448 MB / 1.292 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.277, allocations: 0 / 1.292 GB, free: 15.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.103e-06/1.277, allocations: 0 / 1.292 GB, free: 15.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.693e-05/1.277, allocations: 0 / 1.292 GB, free: 15.91 MB / 1.014 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.004089/1.281, allocations: 2.089 MB / 1.294 GB, free: 13.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.281, allocations: 8.031 kB / 1.294 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/1.285, allocations: 0.591 MB / 1.294 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/1.29, allocations: 2.056 MB / 1.296 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/1.29, allocations: 53.31 kB / 1.297 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.29, allocations: 64 kB / 1.297 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/1.292, allocations: 0.9643 MB / 1.298 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.292, allocations: 0 / 1.298 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/1.292, allocations: 24 kB / 1.298 GB, free: 9.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/1.292, allocations: 29.3 kB / 1.298 GB, free: 9.891 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.294, allocations: 0.7701 MB / 1.298 GB, free: 9.121 MB / 1.014 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.006814/1.301, allocations: 4.193 MB / 1.302 GB, free: 4.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/1.303, allocations: 0.662 MB / 1.303 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/1.304, allocations: 309.2 kB / 1.303 GB, free: 3.688 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/1.304, allocations: 190.5 kB / 1.304 GB, free: 3.465 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/1.304, allocations: 38.83 kB / 1.304 GB, free: 3.418 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006113/1.305, allocations: 67.36 kB / 1.304 GB, free: 3.352 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/1.305, allocations: 0 / 1.304 GB, free: 3.352 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003365/1.308, allocations: 1.159 MB / 1.305 GB, free: 2.164 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.308, allocations: 59.34 kB / 1.305 GB, free: 2.094 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.311, allocations: 1.644 MB / 1.306 GB, free: 456 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.311, allocations: 41.7 kB / 1.306 GB, free: 408 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/1.312, allocations: 0.6579 MB / 1.307 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/1.312, allocations: 118.3 kB / 1.307 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/1.312, allocations: 238.4 kB / 1.307 GB, free: 15.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.312, allocations: 353.9 kB / 1.308 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.314, allocations: 0.7304 MB / 1.309 GB, free: 14.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/1.315, allocations: 0.9743 MB / 1.309 GB, free: 13.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.318, allocations: 1.58 MB / 1.311 GB, free: 11.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.318, allocations: 0 / 1.311 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003473/1.321, allocations: 1.978 MB / 1.313 GB, free: 9.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.321, allocations: 8 kB / 1.313 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.321, allocations: 8 kB / 1.313 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/1.322, allocations: 204.7 kB / 1.313 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.323, allocations: 199.9 kB / 1.313 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009645/1.324, allocations: 0.7006 MB / 1.314 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/1.326, allocations: 84.38 kB / 1.314 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.326, allocations: 59.97 kB / 1.314 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002139/1.328, allocations: 0.998 MB / 1.315 GB, free: 7.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001318/1.33, allocations: 0.8655 MB / 1.316 GB, free: 6.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002269/1.332, allocations: 1.373 MB / 1.317 GB, free: 4.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.771e-06/1.332, allocations: 0.7812 kB / 1.317 GB, free: 4.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.0035/1.335, allocations: 1.794 MB / 1.319 GB, free: 3.094 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.335, allocations: 10.5 kB / 1.319 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.335, allocations: 8 kB / 1.319 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/1.336, allocations: 249 kB / 1.319 GB, free: 2.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/1.337, allocations: 187.8 kB / 1.319 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000831/1.338, allocations: 0.8645 MB / 1.32 GB, free: 1.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.339, allocations: 92.36 kB / 1.32 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/1.339, allocations: 54.11 kB / 1.32 GB, free: 1.617 MB / 1.029 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 (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.0003225/1.34, allocations: 228 kB / 1.321 GB, free: 1.387 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/1.34, allocations: 138.1 kB / 1.321 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.342, allocations: 0.8348 MB / 1.322 GB, free: 412 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.342, allocations: 4 kB / 1.322 GB, free: 408 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.342, allocations: 3.984 kB / 1.322 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/1.342, allocations: 3.938 kB / 1.322 GB, free: 400 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/1.346, allocations: 1.892 MB / 1.324 GB, free: 14.42 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.346, allocations: 4 kB / 1.324 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/1.346, allocations: 87.86 kB / 1.324 GB, free: 14.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/1.347, allocations: 88.97 kB / 1.324 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/1.347, allocations: 19.98 kB / 1.324 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/1.347, allocations: 0.6741 MB / 1.324 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.347, allocations: 4 kB / 1.324 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/1.35, allocations: 1.281 MB / 1.326 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/1.35, allocations: 275.1 kB / 1.326 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.351, allocations: 12.81 kB / 1.326 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/1.351, allocations: 59.91 kB / 1.326 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/1.351, allocations: 35.89 kB / 1.326 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/1.352, allocations: 16 kB / 1.326 GB, free: 11.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001671/1.353, allocations: 1.124 MB / 1.327 GB, free: 10.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.91e-07/1.353, allocations: 3.938 kB / 1.327 GB, free: 10.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001946/1.355, allocations: 0.6826 MB / 1.328 GB, free: 9.977 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (32): * Single equations (assignments): 31 * 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.001151/1.356, allocations: 490.2 kB / 1.328 GB, free: 9.492 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003872/1.36, allocations: 2 MB / 1.33 GB, free: 7.492 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.36, allocations: 4 kB / 1.33 GB, free: 7.488 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/1.361, allocations: 320.9 kB / 1.33 GB, free: 7.176 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.364, allocations: 0.8152 MB / 1.331 GB, free: 6.379 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/1.37, allocations: 3.165 MB / 1.334 GB, free: 3.156 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.372, allocations: 1.323 MB / 1.336 GB, free: 1.797 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/1.372, allocations: 115.4 kB / 1.336 GB, free: 1.688 MB / 1.045 GB Notification: Performance of SimCode: time 1.373e-06/1.372, allocations: 0 / 1.336 GB, free: 1.688 MB / 1.045 GB Notification: Performance of Templates: time 0.05236/1.425, allocations: 32.74 MB / 1.368 GB, free: 1.16 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches