Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001046/0.001046, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001024/0.001024, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7367, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.3018/1.039, allocations: 325.1 MB / 1.544 GB, free: 7.18 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02948/1.068, allocations: 22.32 MB / 1.566 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003016/1.071, allocations: 99.5 kB / 1.566 GB, free: 0.7031 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.684/1.755, allocations: 2.384 MB / 1.568 GB, free: 75.99 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/1.768, allocations: 4.686 MB / 1.573 GB, free: 75.97 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.006421/1.774, allocations: 2.568 MB / 1.575 GB, free: 75.93 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01912/1.793, allocations: 12.2 MB / 1.587 GB, free: 75.9 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003723/1.797, allocations: 2.241 MB / 1.589 GB, free: 75.64 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007304/1.804, allocations: 3.333 MB / 1.593 GB, free: 75.61 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004248/1.809, allocations: 1.862 MB / 1.594 GB, free: 75.6 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0007472/1.809, allocations: 239.4 kB / 1.595 GB, free: 75.6 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007988/1.817, allocations: 3.884 MB / 1.598 GB, free: 75.56 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/1.819, allocations: 1.164 MB / 1.6 GB, free: 75.56 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.002918/1.822, allocations: 1.714 MB / 1.601 GB, free: 75.48 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.009776/1.832, allocations: 5.878 MB / 1.607 GB, free: 74.7 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.832, allocations: 3.188 kB / 1.607 GB, free: 74.7 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.944e-06/1.832, allocations: 3.938 kB / 1.607 GB, free: 74.7 MB / 1.279 GB Notification: Performance of Transformations before backend: time 9.363e-05/1.832, allocations: 0.9062 kB / 1.607 GB, free: 74.7 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.006756/1.839, allocations: 3.938 MB / 1.611 GB, free: 72.67 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.839, allocations: 10.19 kB / 1.611 GB, free: 72.67 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006953/1.846, allocations: 1.12 MB / 1.612 GB, free: 72.47 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00767/1.853, allocations: 4.048 MB / 1.616 GB, free: 71.78 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.854, allocations: 115.8 kB / 1.616 GB, free: 71.78 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/1.854, allocations: 151.9 kB / 1.616 GB, free: 71.78 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/1.857, allocations: 1.727 MB / 1.618 GB, free: 71.56 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/1.857, allocations: 0.875 kB / 1.618 GB, free: 71.56 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.858, allocations: 57.59 kB / 1.618 GB, free: 71.56 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/1.858, allocations: 57.16 kB / 1.618 GB, free: 71.56 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/1.861, allocations: 1.456 MB / 1.619 GB, free: 71.54 MB / 1.279 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.01162/1.873, allocations: 8.717 MB / 1.628 GB, free: 67.07 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002171/1.875, allocations: 1.046 MB / 1.629 GB, free: 66.85 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.876, allocations: 498.7 kB / 1.629 GB, free: 66.84 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.876, allocations: 106.7 kB / 1.629 GB, free: 66.75 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.876, allocations: 46.06 kB / 1.629 GB, free: 66.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=71): time 3.446e-06/1.876, allocations: 0.6875 kB / 1.629 GB, free: 66.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=71): time 0.004536/1.881, allocations: 1.659 MB / 1.631 GB, free: 66.41 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/1.881, allocations: 59.75 kB / 1.631 GB, free: 66.34 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/1.885, allocations: 2.984 MB / 1.634 GB, free: 66.06 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/1.885, allocations: 47.58 kB / 1.634 GB, free: 66.03 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/1.886, allocations: 1.293 MB / 1.635 GB, free: 65.66 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/1.887, allocations: 271.2 kB / 1.636 GB, free: 65.49 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/1.887, allocations: 437.2 kB / 1.636 GB, free: 65.45 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.234e-05/1.887, allocations: 305.1 kB / 1.636 GB, free: 65.15 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.889, allocations: 0.8196 MB / 1.637 GB, free: 65.12 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.89, allocations: 1.316 MB / 1.638 GB, free: 64.57 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/1.893, allocations: 1.906 MB / 1.64 GB, free: 64.11 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.893, allocations: 2.656 kB / 1.64 GB, free: 64.11 MB / 1.279 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.004505/1.898, allocations: 2.464 MB / 1.643 GB, free: 63.86 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.898, allocations: 13.94 kB / 1.643 GB, free: 63.86 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.898, allocations: 12.78 kB / 1.643 GB, free: 63.86 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/1.898, allocations: 74.3 kB / 1.643 GB, free: 63.84 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.9, allocations: 393.8 kB / 1.643 GB, free: 63.84 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000625/1.9, allocations: 1.754 MB / 1.645 GB, free: 62.14 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/1.903, allocations: 237.6 kB / 1.645 GB, free: 62.04 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.903, allocations: 73.83 kB / 1.645 GB, free: 62.04 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002422/1.905, allocations: 1.439 MB / 1.647 GB, free: 61.95 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001582/1.907, allocations: 1.295 MB / 1.648 GB, free: 61.39 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00255/1.91, allocations: 1.872 MB / 1.65 GB, free: 60.93 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.111e-05/1.91, allocations: 2.375 kB / 1.65 GB, free: 60.93 MB / 1.279 GB Notification: Performance of matching and sorting (n=255) (initialization_lambda0): time 0.004227/1.914, allocations: 2.485 MB / 1.652 GB, free: 60.58 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.914, allocations: 9.156 kB / 1.652 GB, free: 60.58 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.914, allocations: 16.48 kB / 1.652 GB, free: 60.57 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/1.914, allocations: 52.84 kB / 1.652 GB, free: 60.57 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.915, allocations: 358.3 kB / 1.653 GB, free: 60.56 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009258/1.916, allocations: 1.639 MB / 1.654 GB, free: 59.07 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/1.919, allocations: 204.3 kB / 1.654 GB, free: 59 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.919, allocations: 70.98 kB / 1.654 GB, free: 59 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (185): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0003646/1.919, allocations: 264.5 kB / 1.655 GB, free: 58.81 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/1.92, allocations: 285.3 kB / 1.655 GB, free: 58.65 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002838/1.922, allocations: 1.241 MB / 1.656 GB, free: 58.44 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/1.924, allocations: 1.032 MB / 1.657 GB, free: 58.15 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.925, allocations: 0 / 1.657 GB, free: 58.15 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.926, allocations: 491 kB / 1.658 GB, free: 57.89 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/1.926, allocations: 16.47 kB / 1.658 GB, free: 57.89 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.927, allocations: 90.64 kB / 1.658 GB, free: 57.88 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.927, allocations: 47.72 kB / 1.658 GB, free: 57.87 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003171/1.931, allocations: 1.154 MB / 1.659 GB, free: 57.69 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003581/1.934, allocations: 1.798 MB / 1.661 GB, free: 57.27 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009917/1.935, allocations: 439.3 kB / 1.661 GB, free: 57.25 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002871/1.938, allocations: 1.992 MB / 1.663 GB, free: 57.1 MB / 1.279 GB Notification: Performance of Backend: time 8.22e-07/1.938, allocations: 0 / 1.663 GB, free: 57.1 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007912/1.946, allocations: 3.444 MB / 1.666 GB, free: 56.68 MB / 1.279 GB Notification: Performance of SimCode: time 0.01021/1.956, allocations: 6.416 MB / 1.673 GB, free: 54.08 MB / 1.279 GB Notification: Performance of Templates: time 0.08429/2.041, allocations: 63.93 MB / 1.735 GB, free: 8.77 MB / 1.295 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches