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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.008291/0.008298, allocations: 100.9 kB / 15.87 MB, free: 6.305 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.001774/0.001775, allocations: 197.5 kB / 16.79 MB, free: 6.238 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.756/2.756, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.19 kB / 0.899 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.342, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2007/0.5427, allocations: 191.4 MB / 1.24 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7545/1.297, allocations: 14.28 MB / 1.254 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/1.3, allocations: 39.06 kB / 1.254 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01143/1.311, allocations: 5.854 MB / 1.259 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006486/1.318, allocations: 2.153 MB / 1.261 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/1.321, allocations: 1.097 MB / 1.262 GB, free: 2.09 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01847/1.34, allocations: 9.727 MB / 1.272 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/1.342, allocations: 0.8121 MB / 1.273 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/1.345, allocations: 1.171 MB / 1.274 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/1.348, allocations: 0.9933 MB / 1.275 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002834/1.348, allocations: 66.06 kB / 1.275 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006333/1.355, allocations: 2.57 MB / 1.277 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009235/1.356, allocations: 0.5824 MB / 1.278 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/1.357, allocations: 0.7775 MB / 1.279 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003782/1.361, allocations: 2.411 MB / 1.281 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.361, allocations: 1 kB / 1.281 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.915e-06/1.361, allocations: 0 / 1.281 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.828e-05/1.361, allocations: 3 kB / 1.281 GB, free: 1.703 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.004364/1.365, allocations: 2.094 MB / 1.283 GB, free: 16.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.365, allocations: 11.39 kB / 1.283 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/1.369, allocations: 0.5905 MB / 1.284 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/1.374, allocations: 2.046 MB / 1.286 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/1.374, allocations: 49.19 kB / 1.286 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.374, allocations: 70.03 kB / 1.286 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/1.376, allocations: 0.9608 MB / 1.287 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/1.376, allocations: 2.531 kB / 1.287 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/1.376, allocations: 29.22 kB / 1.287 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/1.376, allocations: 26.47 kB / 1.287 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/1.378, allocations: 0.7681 MB / 1.288 GB, free: 15.82 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.006741/1.385, allocations: 4.185 MB / 1.292 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/1.387, allocations: 0.657 MB / 1.292 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/1.387, allocations: 313.5 kB / 1.293 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/1.388, allocations: 190 kB / 1.293 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/1.388, allocations: 44.73 kB / 1.293 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007671/1.389, allocations: 72.73 kB / 1.293 GB, free: 13.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/1.389, allocations: 4 kB / 1.293 GB, free: 13.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00309/1.392, allocations: 1.155 MB / 1.294 GB, free: 13.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.392, allocations: 55 kB / 1.294 GB, free: 13.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/1.394, allocations: 1.646 MB / 1.296 GB, free: 13.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/1.394, allocations: 35.86 kB / 1.296 GB, free: 13.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/1.395, allocations: 0.6617 MB / 1.296 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.395, allocations: 119.3 kB / 1.297 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/1.395, allocations: 241.4 kB / 1.297 GB, free: 12.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.395, allocations: 353.5 kB / 1.297 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/1.396, allocations: 0.7244 MB / 1.298 GB, free: 12.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/1.398, allocations: 0.9744 MB / 1.299 GB, free: 12.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.4, allocations: 1.583 MB / 1.3 GB, free: 12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.4, allocations: 0 / 1.3 GB, free: 12 MB / 1.014 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002986/1.403, allocations: 1.966 MB / 1.302 GB, free: 11.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.403, allocations: 5.781 kB / 1.302 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.403, allocations: 11.66 kB / 1.302 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000483/1.403, allocations: 208.2 kB / 1.302 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/1.404, allocations: 193.7 kB / 1.303 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006557/1.405, allocations: 0.7036 MB / 1.303 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.406, allocations: 88.78 kB / 1.303 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.406, allocations: 56.05 kB / 1.303 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001595/1.408, allocations: 0.9997 MB / 1.304 GB, free: 11.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001239/1.409, allocations: 0.8644 MB / 1.305 GB, free: 10.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002078/1.411, allocations: 1.372 MB / 1.307 GB, free: 10.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.722e-06/1.411, allocations: 4.266 kB / 1.307 GB, free: 10.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.003063/1.414, allocations: 1.782 MB / 1.308 GB, free: 10.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.414, allocations: 5.594 kB / 1.308 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.414, allocations: 9.234 kB / 1.308 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/1.415, allocations: 245.5 kB / 1.309 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007837/1.416, allocations: 196.5 kB / 1.309 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007056/1.417, allocations: 0.8604 MB / 1.31 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.418, allocations: 85.27 kB / 1.31 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.418, allocations: 56.38 kB / 1.31 GB, free: 10.04 MB / 1.014 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.0003311/1.419, allocations: 227.7 kB / 1.31 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/1.419, allocations: 142.6 kB / 1.31 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/1.421, allocations: 0.8053 MB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.421, allocations: 6.094 kB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.421, allocations: 1.094 kB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.421, allocations: 6.453 kB / 1.311 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004299/1.425, allocations: 1.93 MB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.425, allocations: 4.797 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/1.426, allocations: 81.95 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/1.426, allocations: 86.41 kB / 1.313 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/1.426, allocations: 18.69 kB / 1.313 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000573/1.427, allocations: 0.678 MB / 1.314 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.427, allocations: 7.594 kB / 1.314 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/1.429, allocations: 1.287 MB / 1.315 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/1.43, allocations: 270.3 kB / 1.315 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004481/1.431, allocations: 17.97 kB / 1.315 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.432, allocations: 54.97 kB / 1.315 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/1.432, allocations: 33.81 kB / 1.315 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/1.432, allocations: 23.61 kB / 1.315 GB, free: 8.234 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00205/1.434, allocations: 1.119 MB / 1.316 GB, free: 8.125 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.31e-07/1.434, allocations: 0 / 1.316 GB, free: 8.125 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002932/1.437, allocations: 0.69 MB / 1.317 GB, free: 8.051 MB / 1.014 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.001489/1.438, allocations: 491.8 kB / 1.318 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003558/1.442, allocations: 1.963 MB / 1.319 GB, free: 7.883 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.442, allocations: 0 / 1.319 GB, free: 7.883 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/1.443, allocations: 317.5 kB / 1.32 GB, free: 7.879 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/1.447, allocations: 0.767 MB / 1.321 GB, free: 7.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/1.453, allocations: 3.162 MB / 1.324 GB, free: 6.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.455, allocations: 1.308 MB / 1.325 GB, free: 5.633 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/1.455, allocations: 108.9 kB / 1.325 GB, free: 5.621 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.455, allocations: 0 / 1.325 GB, free: 5.621 MB / 1.014 GB Notification: Performance of Templates: time 0.05335/1.508, allocations: 32.66 MB / 1.357 GB, free: 2.152 MB / 1.029 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches