Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow|floMacSta.P|floMacDyn.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001061/0.001061, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004171, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.818, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.3396/1.158, allocations: 262.2 MB / 1.21 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03043/1.188, allocations: 18.51 MB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/1.192, allocations: 67.56 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005912/1.198, allocations: 1.213 MB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01517/1.213, allocations: 3.864 MB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008154/1.221, allocations: 2.128 MB / 1.235 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009118/1.23, allocations: 3.459 MB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004277/1.235, allocations: 1.631 MB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00738/1.242, allocations: 2.266 MB / 1.242 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/1.246, allocations: 1.151 MB / 1.243 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009395/1.247, allocations: 92 kB / 1.243 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006946/1.253, allocations: 1.853 MB / 1.245 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/1.255, allocations: 0.6854 MB / 1.246 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001885/1.257, allocations: 0.5121 MB / 1.246 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006548/1.264, allocations: 3.152 MB / 1.249 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.264, allocations: 0 / 1.249 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.847e-06/1.264, allocations: 4 kB / 1.249 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001686/1.264, allocations: 0 / 1.249 GB, free: 0.5781 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.6625/1.926, allocations: 2.518 MB / 1.252 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/1.926, allocations: 9.25 kB / 1.252 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007887/1.934, allocations: 1.063 MB / 1.253 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006591/1.941, allocations: 1.972 MB / 1.255 GB, free: 286.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005525/1.942, allocations: 173.2 kB / 1.255 GB, free: 286.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/1.942, allocations: 149.3 kB / 1.255 GB, free: 286.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004588/1.947, allocations: 1.772 MB / 1.257 GB, free: 286 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/1.947, allocations: 1.438 kB / 1.257 GB, free: 286 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.947, allocations: 56.72 kB / 1.257 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.491e-05/1.947, allocations: 52.25 kB / 1.257 GB, free: 285.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/1.952, allocations: 1.699 MB / 1.258 GB, free: 285.2 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.01348/1.966, allocations: 7.991 MB / 1.266 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/1.968, allocations: 1.197 MB / 1.267 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.214e-05/1.969, allocations: 20.48 kB / 1.267 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.969, allocations: 52.44 kB / 1.268 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001297/1.97, allocations: 138.7 kB / 1.268 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 3.928e-06/1.97, allocations: 0 / 1.268 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.005861/1.976, allocations: 1.892 MB / 1.269 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.976, allocations: 63.75 kB / 1.27 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/1.979, allocations: 1.793 MB / 1.271 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/1.979, allocations: 44.45 kB / 1.271 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/1.979, allocations: 0.988 MB / 1.272 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/1.98, allocations: 275.2 kB / 1.273 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/1.98, allocations: 16.34 kB / 1.273 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/1.98, allocations: 347.2 kB / 1.273 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.981, allocations: 0.5219 MB / 1.273 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/1.983, allocations: 0.9269 MB / 1.274 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/1.985, allocations: 0.6045 MB / 1.275 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.985, allocations: 3 kB / 1.275 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004578/1.989, allocations: 1.653 MB / 1.277 GB, free: 272 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00066/1.99, allocations: 3.964 MB / 1.28 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.99, allocations: 9.375 kB / 1.28 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004027/1.99, allocations: 71.5 kB / 1.28 GB, free: 267.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.992, allocations: 352.1 kB / 1.281 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007853/1.993, allocations: 1.774 MB / 1.283 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/1.996, allocations: 208.1 kB / 1.283 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/1.996, allocations: 59.28 kB / 1.283 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.996, allocations: 4.938 kB / 1.283 GB, free: 265.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003207/1.999, allocations: 1.309 MB / 1.284 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.999, allocations: 17.94 kB / 1.284 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/1.999, allocations: 55.39 kB / 1.284 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/2.001, allocations: 283.7 kB / 1.284 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/2.002, allocations: 1.517 MB / 1.286 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002535/2.004, allocations: 191.8 kB / 1.286 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/2.005, allocations: 51.02 kB / 1.286 GB, free: 263.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (121): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001337/2.006, allocations: 0.5857 MB / 1.287 GB, free: 262.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/2.006, allocations: 193.9 kB / 1.287 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/2.01, allocations: 1.372 MB / 1.288 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/2.01, allocations: 11.55 kB / 1.288 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/2.01, allocations: 0 / 1.288 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002998/2.013, allocations: 1.166 MB / 1.289 GB, free: 261.4 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 postOpt removeSimpleEquations (simulation): time 0.007806/2.021, allocations: 3.258 MB / 1.293 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/2.021, allocations: 4.188 kB / 1.293 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/2.022, allocations: 260.2 kB / 1.293 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/2.022, allocations: 40.33 kB / 1.293 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/2.022, allocations: 27.8 kB / 1.293 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006576/2.023, allocations: 1.747 MB / 1.295 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.023, allocations: 7.906 kB / 1.295 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/2.028, allocations: 2.127 MB / 1.297 GB, free: 256.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/2.029, allocations: 377.2 kB / 1.297 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/2.03, allocations: 19.91 kB / 1.297 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/2.031, allocations: 185.7 kB / 1.297 GB, free: 255.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/2.031, allocations: 51.69 kB / 1.297 GB, free: 255.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/2.031, allocations: 39.44 kB / 1.297 GB, free: 255.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001584/2.033, allocations: 1.216 MB / 1.299 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/2.033, allocations: 3.938 kB / 1.299 GB, free: 254.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002917/2.036, allocations: 1.018 MB / 1.3 GB, free: 253.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008797/2.037, allocations: 369.5 kB / 1.3 GB, free: 253.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005134/2.042, allocations: 2.09 MB / 1.302 GB, free: 251.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.042, allocations: 4 kB / 1.302 GB, free: 251.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/2.043, allocations: 0.5983 MB / 1.303 GB, free: 250.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004845/2.048, allocations: 1.055 MB / 1.304 GB, free: 249.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/2.055, allocations: 4.432 MB / 1.308 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/2.056, allocations: 1.617 MB / 1.309 GB, free: 243.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002563/2.058, allocations: 0.5125 MB / 1.31 GB, free: 243 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005064/2.059, allocations: 155.4 kB / 1.31 GB, free: 242.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/2.059, allocations: 0 / 1.31 GB, free: 242.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06053/2.119, allocations: 38.48 MB / 1.348 GB, free: 204.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches