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.0009548/0.0009548, allocations: 99.58 kB / 16.02 MB, free: 76 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.001142/0.001142, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.933/1.933, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.507/3.507, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 10.53 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3594, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2127/0.5721, allocations: 188.8 MB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8017/1.374, allocations: 14.09 MB / 1.257 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/1.377, allocations: 36.88 kB / 1.258 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/1.388, allocations: 5.852 MB / 1.263 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007074/1.395, allocations: 2.154 MB / 1.265 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/1.398, allocations: 1.107 MB / 1.266 GB, free: 2.672 MB / 0.9981 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.01856/1.417, allocations: 9.714 MB / 1.276 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/1.419, allocations: 0.7972 MB / 1.277 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/1.422, allocations: 1.144 MB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/1.425, allocations: 0.9552 MB / 1.279 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002964/1.426, allocations: 56.17 kB / 1.279 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/1.432, allocations: 2.561 MB / 1.281 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/1.433, allocations: 0.5686 MB / 1.282 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001801/1.435, allocations: 0.7843 MB / 1.283 GB, free: 18.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00485/1.44, allocations: 2.372 MB / 1.285 GB, free: 18.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.44, allocations: 1.156 kB / 1.285 GB, free: 18.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.176e-06/1.44, allocations: 0 / 1.285 GB, free: 18.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.687e-05/1.44, allocations: 0 / 1.285 GB, free: 18.26 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.004555/1.444, allocations: 1.821 MB / 1.287 GB, free: 17.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.445, allocations: 12.25 kB / 1.287 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/1.449, allocations: 0.6142 MB / 1.287 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004822/1.453, allocations: 2.042 MB / 1.289 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/1.453, allocations: 58.09 kB / 1.289 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/1.454, allocations: 69 kB / 1.289 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.456, allocations: 0.9576 MB / 1.29 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.456, allocations: 6.906 kB / 1.29 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/1.456, allocations: 28.2 kB / 1.29 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/1.456, allocations: 26.81 kB / 1.29 GB, free: 16.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.458, allocations: 0.7778 MB / 1.291 GB, free: 16.43 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.006764/1.464, allocations: 4.207 MB / 1.295 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/1.466, allocations: 0.661 MB / 1.296 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/1.467, allocations: 313.1 kB / 1.296 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/1.467, allocations: 194.6 kB / 1.296 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.468, allocations: 43.48 kB / 1.296 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008852/1.468, allocations: 79.67 kB / 1.297 GB, free: 14.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 4.027e-06/1.468, allocations: 6.906 kB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003361/1.472, allocations: 1.166 MB / 1.298 GB, free: 13.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.472, allocations: 55.19 kB / 1.298 GB, free: 13.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/1.474, allocations: 1.645 MB / 1.299 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/1.474, allocations: 35.95 kB / 1.299 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/1.475, allocations: 0.6641 MB / 1.3 GB, free: 13.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/1.475, allocations: 123.5 kB / 1.3 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.475, allocations: 114.5 kB / 1.3 GB, free: 13.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.475, allocations: 351.9 kB / 1.301 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/1.476, allocations: 0.7185 MB / 1.301 GB, free: 13.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.478, allocations: 0.9837 MB / 1.302 GB, free: 12.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/1.48, allocations: 1.587 MB / 1.304 GB, free: 12.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.48, allocations: 3.25 kB / 1.304 GB, free: 12.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003216/1.483, allocations: 1.978 MB / 1.306 GB, free: 12.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/1.483, allocations: 256.5 kB / 1.306 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.483, allocations: 7.812 kB / 1.306 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/1.484, allocations: 208.8 kB / 1.306 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/1.485, allocations: 199.6 kB / 1.306 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006687/1.485, allocations: 0.7078 MB / 1.307 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.487, allocations: 88.61 kB / 1.307 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.487, allocations: 58.19 kB / 1.307 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/1.487, allocations: 5.188 kB / 1.307 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00284/1.49, allocations: 1.629 MB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.49, allocations: 8.516 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007058/1.491, allocations: 251.8 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/1.491, allocations: 186.3 kB / 1.309 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007118/1.492, allocations: 0.8629 MB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.494, allocations: 89.56 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.494, allocations: 49.78 kB / 1.31 GB, free: 11.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.001132/1.495, allocations: 0.5117 MB / 1.311 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/1.495, allocations: 146.5 kB / 1.311 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/1.498, allocations: 0.824 MB / 1.312 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.498, allocations: 3.656 kB / 1.312 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.498, allocations: 0 / 1.312 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.046e-06/1.498, allocations: 4.844 kB / 1.312 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/1.502, allocations: 1.939 MB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.502, allocations: 3.5 kB / 1.314 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/1.503, allocations: 91.66 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002297/1.503, allocations: 81.47 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/1.503, allocations: 14.48 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005407/1.504, allocations: 0.6871 MB / 1.314 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.504, allocations: 2.969 kB / 1.314 GB, free: 9.719 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/1.506, allocations: 1.302 MB / 1.316 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008406/1.507, allocations: 273.7 kB / 1.316 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/1.508, allocations: 12.08 kB / 1.316 GB, free: 9.227 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.509, allocations: 65.7 kB / 1.316 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/1.509, allocations: 35.09 kB / 1.316 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/1.509, allocations: 24.75 kB / 1.316 GB, free: 9.211 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002364/1.511, allocations: 1.115 MB / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.511, allocations: 0 / 1.317 GB, free: 9.102 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003012/1.514, allocations: 0.692 MB / 1.318 GB, free: 9.023 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.001407/1.516, allocations: 489 kB / 1.318 GB, free: 8.875 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003672/1.519, allocations: 1.984 MB / 1.32 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.52, allocations: 0 / 1.32 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/1.52, allocations: 322.9 kB / 1.321 GB, free: 8.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.525, allocations: 0.7604 MB / 1.321 GB, free: 8.754 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/1.532, allocations: 3.191 MB / 1.324 GB, free: 7.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.534, allocations: 1.308 MB / 1.326 GB, free: 6.598 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/1.534, allocations: 111.1 kB / 1.326 GB, free: 6.582 MB / 1.014 GB Notification: Performance of SimCode: time 7.51e-07/1.534, allocations: 1.969 kB / 1.326 GB, free: 6.582 MB / 1.014 GB Notification: Performance of Templates: time 0.05229/1.586, allocations: 32.44 MB / 1.357 GB, free: 5.688 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