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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009598/0.0009598, 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.008929/0.008929, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.829/2.829, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 9 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3054, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.1942/0.4997, allocations: 188.8 MB / 1.243 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6588/1.159, allocations: 14.1 MB / 1.257 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/1.16, allocations: 40.12 kB / 1.257 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009498/1.17, allocations: 5.85 MB / 1.263 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005945/1.176, allocations: 2.152 MB / 1.265 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/1.179, allocations: 1.102 MB / 1.266 GB, free: 2.719 MB / 0.9981 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.01466/1.194, allocations: 9.727 MB / 1.275 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/1.195, allocations: 0.7894 MB / 1.276 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/1.198, allocations: 1.139 MB / 1.277 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/1.2, allocations: 0.9743 MB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/1.2, allocations: 55.94 kB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005697/1.206, allocations: 2.559 MB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007547/1.206, allocations: 0.5607 MB / 1.281 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/1.207, allocations: 0.7843 MB / 1.282 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004802/1.212, allocations: 3.208 MB / 1.285 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/1.212, allocations: 0 / 1.285 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.212, allocations: 0 / 1.285 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.339e-05/1.212, allocations: 1.469 kB / 1.285 GB, free: 2.293 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.003451/1.216, allocations: 1.83 MB / 1.287 GB, free: 17.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.216, allocations: 12.3 kB / 1.287 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/1.219, allocations: 0.6104 MB / 1.287 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/1.223, allocations: 2.048 MB / 1.289 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/1.223, allocations: 55.12 kB / 1.29 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.224, allocations: 64.44 kB / 1.29 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.225, allocations: 0.9604 MB / 1.291 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/1.225, allocations: 1.312 kB / 1.291 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/1.225, allocations: 28.48 kB / 1.291 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/1.225, allocations: 26.16 kB / 1.291 GB, free: 16.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/1.227, allocations: 0.7826 MB / 1.291 GB, free: 16.46 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.005737/1.233, allocations: 4.205 MB / 1.295 GB, free: 14.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/1.235, allocations: 0.663 MB / 1.296 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007031/1.236, allocations: 309 kB / 1.296 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/1.236, allocations: 193.7 kB / 1.297 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.236, allocations: 35.69 kB / 1.297 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007577/1.237, allocations: 88.67 kB / 1.297 GB, free: 14.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.267e-06/1.237, allocations: 0 / 1.297 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003019/1.24, allocations: 1.177 MB / 1.298 GB, free: 14.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.24, allocations: 55.53 kB / 1.298 GB, free: 13.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/1.242, allocations: 1.645 MB / 1.3 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/1.242, allocations: 34.86 kB / 1.3 GB, free: 13.74 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/1.242, allocations: 0.6548 MB / 1.3 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.242, allocations: 125.4 kB / 1.3 GB, free: 13.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.243, allocations: 120.4 kB / 1.3 GB, free: 13.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.243, allocations: 344.5 kB / 1.301 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009836/1.244, allocations: 0.7289 MB / 1.301 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.245, allocations: 0.9778 MB / 1.302 GB, free: 12.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/1.247, allocations: 1.595 MB / 1.304 GB, free: 12.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.247, allocations: 3.938 kB / 1.304 GB, free: 12.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003192/1.25, allocations: 1.969 MB / 1.306 GB, free: 12.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/1.25, allocations: 261.9 kB / 1.306 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.251, allocations: 6.438 kB / 1.306 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/1.251, allocations: 205 kB / 1.306 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/1.252, allocations: 198.4 kB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005634/1.252, allocations: 0.7016 MB / 1.307 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.254, allocations: 102.4 kB / 1.307 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.578e-05/1.254, allocations: 50.59 kB / 1.307 GB, free: 11.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/1.254, allocations: 7.219 kB / 1.307 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002508/1.256, allocations: 1.629 MB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.256, allocations: 6.625 kB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/1.257, allocations: 242.5 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/1.258, allocations: 204 kB / 1.309 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/1.258, allocations: 0.8506 MB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.259, allocations: 82.42 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/1.259, allocations: 56.05 kB / 1.31 GB, free: 11.09 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.0007755/1.26, allocations: 0.5183 MB / 1.311 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.26, allocations: 141.9 kB / 1.311 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.262, allocations: 0.8246 MB / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.262, allocations: 6.062 kB / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.262, allocations: 2.953 kB / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.262, allocations: 4 kB / 1.312 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/1.265, allocations: 1.945 MB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.265, allocations: 2.625 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/1.266, allocations: 86.2 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001971/1.266, allocations: 87.84 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/1.266, allocations: 12.97 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000444/1.266, allocations: 0.6772 MB / 1.315 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.266, allocations: 7.5 kB / 1.315 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/1.269, allocations: 1.303 MB / 1.316 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/1.269, allocations: 279.9 kB / 1.316 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/1.269, allocations: 8.609 kB / 1.316 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/1.27, allocations: 62.91 kB / 1.316 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/1.27, allocations: 34.98 kB / 1.316 GB, free: 9.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/1.27, allocations: 26.11 kB / 1.316 GB, free: 9.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001334/1.272, allocations: 1.118 MB / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.272, allocations: 0 / 1.317 GB, free: 9.141 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001706/1.273, allocations: 0.6887 MB / 1.318 GB, free: 9.066 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.0009619/1.274, allocations: 481.5 kB / 1.318 GB, free: 8.922 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003024/1.277, allocations: 1.974 MB / 1.32 GB, free: 8.898 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.277, allocations: 0.625 kB / 1.32 GB, free: 8.898 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/1.278, allocations: 328.6 kB / 1.321 GB, free: 8.891 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.281, allocations: 0.7694 MB / 1.321 GB, free: 8.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/1.286, allocations: 3.116 MB / 1.324 GB, free: 7.387 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/1.287, allocations: 1.323 MB / 1.326 GB, free: 6.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001485/1.289, allocations: 430.1 kB / 1.326 GB, free: 6.543 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/1.289, allocations: 108.6 kB / 1.326 GB, free: 6.527 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/1.289, allocations: 0 / 1.326 GB, free: 6.527 MB / 1.014 GB Notification: Performance of Templates: time 0.05089/1.34, allocations: 31.95 MB / 1.357 GB, free: 5.496 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches