Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_latest_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.001328/0.001328, allocations: 104 kB / 15.6 MB, free: 148 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.001539/0.001539, allocations: 192.7 kB / 16.53 MB, free: 6.625 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.44 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3484, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08762/0.4361, allocations: 79.36 MB / 1.146 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04589/0.482, allocations: 28.42 MB / 1.173 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006494/0.4886, allocations: 119.4 kB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.02119/0.5098, allocations: 11.46 MB / 1.185 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.5217, allocations: 3.766 MB / 1.188 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008653/0.5304, allocations: 3.093 MB / 1.191 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.03309/0.5635, allocations: 20.14 MB / 1.211 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005856/0.5694, allocations: 2.715 MB / 1.214 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008517/0.5779, allocations: 3.086 MB / 1.217 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005062/0.583, allocations: 2.517 MB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.5845, allocations: 364 kB / 1.22 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00757/0.5921, allocations: 2.929 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002535/0.5947, allocations: 1.803 MB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005345/0.6001, allocations: 2.635 MB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.6133, allocations: 8.225 MB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.6133, allocations: 0 / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6133, allocations: 3.938 kB / 1.235 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000244/0.6136, allocations: 4 kB / 1.235 GB, free: 15.35 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01521/0.6288, allocations: 5.842 MB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.6289, allocations: 8.031 kB / 1.24 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009706/0.6386, allocations: 1.543 MB / 1.242 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.6547, allocations: 7.096 MB / 1.249 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/0.6553, allocations: 211.8 kB / 1.249 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00091/0.6563, allocations: 192 kB / 1.249 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6246/1.281, allocations: 2.607 MB / 1.252 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/1.281, allocations: 2.156 kB / 1.252 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/1.281, allocations: 72.53 kB / 1.252 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/1.281, allocations: 43.81 kB / 1.252 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005913/1.287, allocations: 2.038 MB / 1.254 GB, free: 172.6 MB / 0.9981 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.01734/1.304, allocations: 11.81 MB / 1.266 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/1.31, allocations: 1.744 MB / 1.267 GB, free: 166 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/1.312, allocations: 0.8044 MB / 1.268 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006139/1.318, allocations: 4.108 MB / 1.272 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.318, allocations: 38.66 kB / 1.272 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/1.318, allocations: 0 / 1.272 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.009029/1.327, allocations: 2.819 MB / 1.275 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/1.327, allocations: 64.31 kB / 1.275 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/1.34, allocations: 5.536 MB / 1.28 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003852/1.341, allocations: 55.33 kB / 1.28 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.343, allocations: 2.013 MB / 1.282 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/1.344, allocations: 313.1 kB / 1.283 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/1.345, allocations: 0.7589 MB / 1.283 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/1.346, allocations: 306.2 kB / 1.284 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/1.35, allocations: 2.19 MB / 1.286 GB, free: 157 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/1.354, allocations: 3.096 MB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007769/1.362, allocations: 4.882 MB / 1.294 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-05/1.362, allocations: 6.094 kB / 1.294 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01123/1.373, allocations: 5.951 MB / 1.299 GB, free: 150 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/1.373, allocations: 13.59 kB / 1.299 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/1.373, allocations: 26.41 kB / 1.299 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008299/1.374, allocations: 416 kB / 1.3 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/1.377, allocations: 0.6151 MB / 1.3 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007596/1.377, allocations: 0.9108 MB / 1.301 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/1.381, allocations: 407.3 kB / 1.302 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/1.382, allocations: 170.3 kB / 1.302 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004913/1.387, allocations: 3.018 MB / 1.305 GB, free: 147 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003661/1.39, allocations: 2.873 MB / 1.308 GB, free: 145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006277/1.397, allocations: 4.452 MB / 1.312 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.062e-05/1.397, allocations: 6.594 kB / 1.312 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.009223/1.406, allocations: 5.525 MB / 1.317 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.406, allocations: 21.47 kB / 1.317 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/1.406, allocations: 20 kB / 1.317 GB, free: 138.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000971/1.407, allocations: 448.6 kB / 1.318 GB, free: 137.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/1.409, allocations: 0.6006 MB / 1.318 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/1.416, allocations: 6.119 MB / 1.324 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.42, allocations: 348.1 kB / 1.325 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.42, allocations: 152 kB / 1.325 GB, free: 130.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (305): * Single equations (assignments): 295 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.000699/1.421, allocations: 319.5 kB / 1.325 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.422, allocations: 446.9 kB / 1.326 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006396/1.429, allocations: 2.495 MB / 1.328 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.429, allocations: 15.94 kB / 1.328 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.429, allocations: 0 / 1.328 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.429, allocations: 3.984 kB / 1.328 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.439, allocations: 5.173 MB / 1.333 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.439, allocations: 0 / 1.333 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.441, allocations: 275.7 kB / 1.333 GB, free: 121.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/1.441, allocations: 152.8 kB / 1.333 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/1.441, allocations: 35.95 kB / 1.334 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/1.442, allocations: 0.8059 MB / 1.334 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.442, allocations: 8.062 kB / 1.334 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/1.449, allocations: 3.444 MB / 1.338 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.451, allocations: 0.7461 MB / 1.338 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.452, allocations: 23.94 kB / 1.338 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/1.455, allocations: 151.8 kB / 1.339 GB, free: 116.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.455, allocations: 64.91 kB / 1.339 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.455, allocations: 55.94 kB / 1.339 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005873/1.461, allocations: 3.731 MB / 1.342 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.461, allocations: 0 / 1.342 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005992/1.467, allocations: 2.059 MB / 1.344 GB, free: 110.4 MB / 0.9981 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_dy.x,dm_flow_dy.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 (96): * Single equations (assignments): 87 * 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.002138/1.469, allocations: 0.9194 MB / 1.345 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.48, allocations: 6.293 MB / 1.351 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/1.48, allocations: 4 kB / 1.351 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/1.482, allocations: 0.8897 MB / 1.352 GB, free: 102.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009051/1.491, allocations: 2.359 MB / 1.355 GB, free: 100.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.506, allocations: 7.968 MB / 1.362 GB, free: 92.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/1.509, allocations: 2.663 MB / 1.365 GB, free: 89.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005661/1.515, allocations: 1.203 MB / 1.366 GB, free: 88.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.516, allocations: 351.2 kB / 1.366 GB, free: 87.85 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.516, allocations: 0 / 1.366 GB, free: 87.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.1396/1.655, allocations: 101.2 MB / 1.465 GB, free: 3.926 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches