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.001367/0.001367, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.001409/0.001409, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.506/2.506, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.02 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.7137/1.024, allocations: 193.6 MB / 1.216 GB, free: 8.477 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01876/1.043, allocations: 14.14 MB / 1.23 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/1.044, allocations: 39.53 kB / 1.23 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009975/1.055, allocations: 5.919 MB / 1.235 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006142/1.061, allocations: 2.295 MB / 1.238 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/1.064, allocations: 1.262 MB / 1.239 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01266/1.077, allocations: 8.519 MB / 1.247 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.079, allocations: 0.9305 MB / 1.248 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/1.081, allocations: 1.323 MB / 1.249 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/1.084, allocations: 0.9472 MB / 1.25 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002805/1.084, allocations: 120 kB / 1.25 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00573/1.09, allocations: 2.366 MB / 1.253 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008295/1.091, allocations: 0.6349 MB / 1.253 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/1.092, allocations: 0.8317 MB / 1.254 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/1.097, allocations: 3.21 MB / 1.257 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.097, allocations: 0 / 1.257 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.913e-06/1.097, allocations: 0 / 1.257 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.308e-05/1.097, allocations: 0 / 1.257 GB, free: 1.316 MB / 0.9512 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.003566/1.1, allocations: 2.081 MB / 1.259 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.101, allocations: 16.02 kB / 1.259 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/1.104, allocations: 0.5794 MB / 1.26 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/1.109, allocations: 2.087 MB / 1.262 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/1.109, allocations: 54.19 kB / 1.262 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.109, allocations: 64 kB / 1.262 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.111, allocations: 0.9496 MB / 1.263 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/1.111, allocations: 8 kB / 1.263 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/1.111, allocations: 24 kB / 1.263 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/1.111, allocations: 21.31 kB / 1.263 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.113, allocations: 0.7428 MB / 1.264 GB, free: 10.54 MB / 0.9669 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.006333/1.119, allocations: 4.327 MB / 1.268 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/1.121, allocations: 0.6009 MB / 1.269 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006149/1.121, allocations: 296.7 kB / 1.269 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/1.122, allocations: 190.2 kB / 1.269 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.122, allocations: 54.44 kB / 1.269 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 2.073e-06/1.122, allocations: 0 / 1.269 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31): time 0.003182/1.125, allocations: 1.13 MB / 1.27 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.125, allocations: 55.41 kB / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/1.127, allocations: 1.656 MB / 1.272 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.759e-05/1.127, allocations: 33.7 kB / 1.272 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005744/1.128, allocations: 0.6501 MB / 1.273 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/1.128, allocations: 118.4 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/1.128, allocations: 238.4 kB / 1.273 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.129, allocations: 357.9 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/1.13, allocations: 0.7153 MB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.131, allocations: 0.9535 MB / 1.275 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.133, allocations: 1.561 MB / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.133, allocations: 3.938 kB / 1.276 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003275/1.137, allocations: 1.954 MB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.137, allocations: 11.98 kB / 1.278 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.137, allocations: 4 kB / 1.278 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/1.137, allocations: 209.2 kB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/1.138, allocations: 179.8 kB / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000618/1.139, allocations: 0.7123 MB / 1.279 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.14, allocations: 119.6 kB / 1.279 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.14, allocations: 55.92 kB / 1.28 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001604/1.141, allocations: 0.986 MB / 1.28 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001206/1.143, allocations: 0.8554 MB / 1.281 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00202/1.145, allocations: 1.357 MB / 1.283 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/1.145, allocations: 4 kB / 1.283 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003245/1.148, allocations: 1.763 MB / 1.284 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.148, allocations: 8 kB / 1.284 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.148, allocations: 4 kB / 1.284 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007267/1.149, allocations: 244.8 kB / 1.285 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/1.15, allocations: 183.7 kB / 1.285 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/1.15, allocations: 0.8646 MB / 1.286 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.152, allocations: 103.2 kB / 1.286 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.152, allocations: 47.98 kB / 1.286 GB, free: 3.156 MB / 0.9825 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 (87): * Single equations (assignments): 84 * 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.0003038/1.152, allocations: 232 kB / 1.286 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/1.152, allocations: 138.1 kB / 1.286 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/1.154, allocations: 0.7899 MB / 1.287 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.154, allocations: 0 / 1.287 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.154, allocations: 11.92 kB / 1.287 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.154, allocations: 0 / 1.287 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/1.158, allocations: 1.868 MB / 1.289 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.158, allocations: 11.97 kB / 1.289 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/1.158, allocations: 79.88 kB / 1.289 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002516/1.159, allocations: 84.8 kB / 1.289 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/1.159, allocations: 12 kB / 1.289 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000554/1.159, allocations: 0.685 MB / 1.29 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.159, allocations: 0 / 1.29 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/1.162, allocations: 1.234 MB / 1.291 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/1.162, allocations: 279.1 kB / 1.291 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/1.163, allocations: 12.06 kB / 1.291 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/1.163, allocations: 39.95 kB / 1.291 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/1.163, allocations: 31.84 kB / 1.291 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/1.163, allocations: 23.98 kB / 1.291 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001808/1.165, allocations: 1.124 MB / 1.292 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.165, allocations: 0 / 1.292 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002002/1.167, allocations: 0.6826 MB / 1.293 GB, free: 11.65 MB / 0.9981 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 (29): * Single equations (assignments): 28 * 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.001614/1.169, allocations: 485.4 kB / 1.293 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004243/1.173, allocations: 1.942 MB / 1.295 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.173, allocations: 0 / 1.295 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008374/1.174, allocations: 319.7 kB / 1.296 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/1.178, allocations: 0.8175 MB / 1.296 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/1.183, allocations: 2.615 MB / 1.299 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.185, allocations: 1.319 MB / 1.3 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001642/1.186, allocations: 419.8 kB / 1.301 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/1.187, allocations: 111.4 kB / 1.301 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.187, allocations: 3.938 kB / 1.301 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.05525/1.242, allocations: 33.2 MB / 1.333 GB, free: 2.809 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 -s cvode -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