Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 108.2 kB / 16.27 MB, free: 6.004 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.001339/0.001339, allocations: 188.3 kB / 17.2 MB, free: 5.617 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 70.56 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3071, allocations: 140.4 MB / 0.9503 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08154/0.3887, allocations: 78.06 MB / 1.026 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04272/0.4315, allocations: 25.95 MB / 1.052 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006198/0.4378, allocations: 119.4 kB / 1.052 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006132/0.4439, allocations: 1.65 MB / 1.054 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.4563, allocations: 3.479 MB / 1.057 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008683/0.465, allocations: 2.93 MB / 1.06 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01166/0.4766, allocations: 6.993 MB / 1.067 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005125/0.4818, allocations: 2.644 MB / 1.069 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008005/0.4899, allocations: 2.957 MB / 1.072 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004363/0.4943, allocations: 2.225 MB / 1.074 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.4953, allocations: 316 kB / 1.075 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.5012, allocations: 2.153 MB / 1.077 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.503, allocations: 1.285 MB / 1.078 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003121/0.5061, allocations: 1.998 MB / 1.08 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.5923/1.098, allocations: 6.014 MB / 1.086 GB, free: 25.35 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.098, allocations: 0 / 1.086 GB, free: 25.35 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/1.098, allocations: 0 / 1.086 GB, free: 25.35 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002012/1.099, allocations: 0.75 kB / 1.086 GB, free: 25.35 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.01332/1.112, allocations: 4.48 MB / 1.09 GB, free: 23.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/1.112, allocations: 13 kB / 1.09 GB, free: 23.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008016/1.12, allocations: 1.183 MB / 1.091 GB, free: 23.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/1.131, allocations: 3.778 MB / 1.095 GB, free: 22.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.132, allocations: 312.1 kB / 1.095 GB, free: 22.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009791/1.133, allocations: 177 kB / 1.095 GB, free: 22.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006287/1.14, allocations: 2.498 MB / 1.098 GB, free: 22.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/1.14, allocations: 2.062 kB / 1.098 GB, free: 22.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/1.14, allocations: 71.28 kB / 1.098 GB, free: 22.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/1.14, allocations: 39.38 kB / 1.098 GB, free: 22.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006599/1.147, allocations: 2.071 MB / 1.1 GB, free: 22.07 MB / 0.8575 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.01997/1.167, allocations: 10.94 MB / 1.111 GB, free: 17.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005663/1.172, allocations: 1.788 MB / 1.112 GB, free: 17.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/1.175, allocations: 0.8373 MB / 1.113 GB, free: 17.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00681/1.182, allocations: 3.733 MB / 1.117 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.182, allocations: 41.69 kB / 1.117 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 2.164e-06/1.182, allocations: 1.062 kB / 1.117 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.009733/1.192, allocations: 2.843 MB / 1.12 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.192, allocations: 59.97 kB / 1.12 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006411/1.198, allocations: 3.73 MB / 1.123 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005605/1.199, allocations: 49.77 kB / 1.123 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.2, allocations: 1.594 MB / 1.125 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/1.2, allocations: 269.5 kB / 1.125 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007084/1.201, allocations: 384.3 kB / 1.126 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.067e-05/1.201, allocations: 308.3 kB / 1.126 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/1.204, allocations: 1.361 MB / 1.127 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/1.208, allocations: 2.077 MB / 1.129 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006429/1.214, allocations: 3.33 MB / 1.133 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/1.214, allocations: 10.41 kB / 1.133 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009129/1.223, allocations: 3.807 MB / 1.136 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/1.223, allocations: 13.41 kB / 1.136 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/1.223, allocations: 21 kB / 1.136 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007518/1.224, allocations: 308.4 kB / 1.137 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/1.226, allocations: 475 kB / 1.137 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006535/1.227, allocations: 0.8201 MB / 1.138 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/1.23, allocations: 325.5 kB / 1.138 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/1.231, allocations: 134.7 kB / 1.138 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003711/1.234, allocations: 1.824 MB / 1.14 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002736/1.237, allocations: 1.843 MB / 1.142 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004865/1.242, allocations: 2.873 MB / 1.145 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-05/1.242, allocations: 5.781 kB / 1.145 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.007281/1.249, allocations: 3.362 MB / 1.148 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.249, allocations: 16.97 kB / 1.148 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/1.25, allocations: 22.02 kB / 1.148 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/1.25, allocations: 390.5 kB / 1.148 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.252, allocations: 449.3 kB / 1.149 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/1.258, allocations: 5.019 MB / 1.154 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/1.262, allocations: 256.7 kB / 1.154 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/1.262, allocations: 115.2 kB / 1.154 GB, free: 4.914 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (177): * Single equations (assignments): 173 * Array equations: 3 * 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 prepare postOptimizeDAE: time 0.0007257/1.263, allocations: 289.3 kB / 1.154 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008725/1.264, allocations: 321.8 kB / 1.155 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006489/1.27, allocations: 2.463 MB / 1.157 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.27, allocations: 16.5 kB / 1.157 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.271, allocations: 0 / 1.157 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.271, allocations: 3.844 kB / 1.157 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009626/1.28, allocations: 4.637 MB / 1.162 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.28, allocations: 0 / 1.162 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/1.282, allocations: 291.7 kB / 1.162 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/1.282, allocations: 143.5 kB / 1.162 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/1.282, allocations: 35.34 kB / 1.162 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004578/1.283, allocations: 0.7347 MB / 1.163 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.283, allocations: 2.406 kB / 1.163 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008441/1.291, allocations: 3.423 MB / 1.166 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/1.293, allocations: 0.5675 MB / 1.167 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/1.293, allocations: 29.45 kB / 1.167 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.295, allocations: 161.8 kB / 1.167 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.296, allocations: 66.05 kB / 1.167 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.296, allocations: 55 kB / 1.167 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.003866/1.3, allocations: 2.57 MB / 1.17 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.3, allocations: 3.656 kB / 1.17 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.005379/1.305, allocations: 1.52 MB / 1.171 GB, free: 14.01 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001824/1.307, allocations: 0.6607 MB / 1.172 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.317, allocations: 4.277 MB / 1.176 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.317, allocations: 0 / 1.176 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002722/1.32, allocations: 0.9485 MB / 1.177 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007576/1.328, allocations: 1.744 MB / 1.178 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.34, allocations: 5.989 MB / 1.184 GB, free: 3.109 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.342, allocations: 2.079 MB / 1.186 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.343, allocations: 275.2 kB / 1.187 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of SimCode: time 1.493e-06/1.343, allocations: 1.75 kB / 1.187 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of Templates: time 0.1067/1.45, allocations: 74.64 MB / 1.259 GB, free: 6.945 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches