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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PressureCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PressureCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PressureCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PressureCurve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 98.27 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.001389/0.001389, allocations: 172.7 kB / 16.27 MB, free: 6.664 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 11.27 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2687, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.1963/0.465, allocations: 188.8 MB / 1.243 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5626/1.028, allocations: 14.1 MB / 1.257 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/1.029, allocations: 41.47 kB / 1.257 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009036/1.038, allocations: 5.856 MB / 1.263 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005357/1.044, allocations: 2.155 MB / 1.265 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/1.047, allocations: 1.101 MB / 1.266 GB, free: 2.605 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.01445/1.061, allocations: 9.716 MB / 1.275 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/1.063, allocations: 0.7956 MB / 1.276 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/1.066, allocations: 1.143 MB / 1.277 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/1.068, allocations: 0.9662 MB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/1.068, allocations: 54.88 kB / 1.278 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005057/1.073, allocations: 2.561 MB / 1.281 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006807/1.074, allocations: 0.5717 MB / 1.281 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/1.075, allocations: 0.788 MB / 1.282 GB, free: 18.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005381/1.08, allocations: 3.259 MB / 1.285 GB, free: 18.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.08, allocations: 0 / 1.285 GB, free: 18.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.255e-06/1.08, allocations: 0 / 1.285 GB, free: 18.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.212e-05/1.08, allocations: 2.875 kB / 1.285 GB, free: 18.18 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.003384/1.084, allocations: 1.851 MB / 1.287 GB, free: 17.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.084, allocations: 9.781 kB / 1.287 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/1.084, allocations: 106.8 kB / 1.287 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/1.088, allocations: 0.6192 MB / 1.288 GB, free: 16.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008207/1.096, allocations: 4.676 MB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/1.096, allocations: 49.62 kB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.096, allocations: 78.78 kB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/1.098, allocations: 0.9585 MB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.098, allocations: 1.156 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/1.098, allocations: 26.44 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/1.098, allocations: 31.17 kB / 1.293 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/1.1, allocations: 0.7788 MB / 1.294 GB, free: 16.25 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.006599/1.106, allocations: 4.222 MB / 1.298 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/1.108, allocations: 0.6569 MB / 1.299 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/1.109, allocations: 314.7 kB / 1.299 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/1.109, allocations: 194 kB / 1.299 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/1.109, allocations: 33.78 kB / 1.299 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007271/1.11, allocations: 78.31 kB / 1.3 GB, free: 14.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/1.11, allocations: 0 / 1.3 GB, free: 14.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00309/1.113, allocations: 1.176 MB / 1.301 GB, free: 13.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.113, allocations: 54.56 kB / 1.301 GB, free: 13.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.115, allocations: 1.67 MB / 1.302 GB, free: 13.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/1.115, allocations: 32.73 kB / 1.302 GB, free: 13.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/1.116, allocations: 0.6688 MB / 1.303 GB, free: 13.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.116, allocations: 123.1 kB / 1.303 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/1.116, allocations: 117.9 kB / 1.303 GB, free: 13.23 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.116, allocations: 350.8 kB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.117, allocations: 0.7227 MB / 1.304 GB, free: 12.92 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/1.119, allocations: 0.9753 MB / 1.305 GB, free: 12.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.121, allocations: 1.592 MB / 1.307 GB, free: 12.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.121, allocations: 5.844 kB / 1.307 GB, free: 12.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002912/1.124, allocations: 1.98 MB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/1.124, allocations: 265.4 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.124, allocations: 5.375 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/1.124, allocations: 205.5 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007872/1.125, allocations: 197.7 kB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000582/1.126, allocations: 0.7077 MB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.127, allocations: 92.12 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/1.127, allocations: 57.89 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/1.127, allocations: 6.438 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002665/1.13, allocations: 1.629 MB / 1.312 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.13, allocations: 10.53 kB / 1.312 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/1.131, allocations: 247 kB / 1.312 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/1.131, allocations: 192 kB / 1.312 GB, free: 11.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006361/1.132, allocations: 0.8565 MB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.133, allocations: 93.14 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-05/1.133, allocations: 48.42 kB / 1.313 GB, free: 10.85 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.0008106/1.134, allocations: 0.5128 MB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/1.134, allocations: 145.7 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/1.136, allocations: 0.826 MB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.136, allocations: 7.156 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.136, allocations: 2.594 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.136, allocations: 1.594 kB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/1.139, allocations: 1.935 MB / 1.317 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.139, allocations: 4.438 kB / 1.317 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/1.14, allocations: 96.25 kB / 1.317 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/1.14, allocations: 83.17 kB / 1.317 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/1.14, allocations: 17.09 kB / 1.317 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004875/1.141, allocations: 0.6797 MB / 1.317 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.141, allocations: 5.906 kB / 1.317 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/1.143, allocations: 1.31 MB / 1.319 GB, free: 9.207 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/1.144, allocations: 277.4 kB / 1.319 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/1.144, allocations: 17.61 kB / 1.319 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/1.145, allocations: 61.67 kB / 1.319 GB, free: 9.023 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/1.145, allocations: 31.8 kB / 1.319 GB, free: 9.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/1.145, allocations: 23.92 kB / 1.319 GB, free: 9.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001532/1.146, allocations: 1.133 MB / 1.32 GB, free: 8.906 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.146, allocations: 0 / 1.32 GB, free: 8.906 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002269/1.148, allocations: 0.6888 MB / 1.321 GB, free: 8.836 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.003604/1.152, allocations: 2.204 MB / 1.323 GB, free: 7.926 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003183/1.155, allocations: 1.989 MB / 1.325 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.155, allocations: 1.859 kB / 1.325 GB, free: 7.887 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007138/1.156, allocations: 323.9 kB / 1.325 GB, free: 7.883 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/1.16, allocations: 0.7624 MB / 1.326 GB, free: 7.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/1.184, allocations: 14.13 MB / 1.34 GB, free: 2.266 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/1.185, allocations: 1.32 MB / 1.341 GB, free: 1.332 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001892/1.187, allocations: 443.8 kB / 1.342 GB, free: 1.109 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/1.188, allocations: 0.5688 MB / 1.342 GB, free: 1.051 MB / 1.014 GB Notification: Performance of SimCode: time 7.41e-07/1.188, allocations: 0.875 kB / 1.342 GB, free: 1.051 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/1.266, allocations: 43.67 MB / 1.385 GB, free: 13.21 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/1.266, allocations: 275.7 kB / 1.385 GB, free: 12.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.171, allocations: 0 / 1.385 GB, free: 12.85 MB / 1.061 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_Validation_PressureCurve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_Validation_PressureCurve.fmu > 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