Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 102 kB / 16.27 MB, free: 5.859 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.00153/0.00153, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.669/2.669, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.86 kB / 0.9245 GB, free: 16 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7906/0.7926, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.3745/1.167, allocations: 325.2 MB / 1.4 GB, free: 8.746 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03356/1.201, allocations: 22.29 MB / 1.422 GB, free: 2.395 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/1.204, allocations: 95.5 kB / 1.422 GB, free: 2.301 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.01526/1.219, allocations: 7.798 MB / 1.43 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/1.231, allocations: 4.215 MB / 1.434 GB, free: 6.254 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/1.237, allocations: 2.417 MB / 1.436 GB, free: 3.844 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01619/1.253, allocations: 10.98 MB / 1.447 GB, free: 8.84 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00361/1.256, allocations: 2.189 MB / 1.449 GB, free: 6.598 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007446/1.264, allocations: 3.41 MB / 1.453 GB, free: 3.176 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/1.268, allocations: 1.792 MB / 1.454 GB, free: 1.387 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006929/1.268, allocations: 228 kB / 1.455 GB, free: 1.164 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008363/1.277, allocations: 3.843 MB / 1.458 GB, free: 13.31 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/1.278, allocations: 1.13 MB / 1.459 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002505/1.281, allocations: 1.687 MB / 1.461 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00976/1.291, allocations: 5.714 MB / 1.467 GB, free: 4.754 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.291, allocations: 4 kB / 1.467 GB, free: 4.75 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.824e-06/1.291, allocations: 0 / 1.467 GB, free: 4.75 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.797e-05/1.291, allocations: 0 / 1.467 GB, free: 4.75 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.006696/1.298, allocations: 3.762 MB / 1.47 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.298, allocations: 15.98 kB / 1.47 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007152/1.305, allocations: 1.092 MB / 1.471 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/1.312, allocations: 3.857 MB / 1.475 GB, free: 11.87 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004721/1.313, allocations: 178.6 kB / 1.475 GB, free: 11.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/1.313, allocations: 152 kB / 1.475 GB, free: 11.55 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/1.317, allocations: 1.731 MB / 1.477 GB, free: 9.742 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/1.317, allocations: 0 / 1.477 GB, free: 9.742 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.317, allocations: 60 kB / 1.477 GB, free: 9.684 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.008e-05/1.317, allocations: 50.58 kB / 1.477 GB, free: 9.633 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/1.321, allocations: 1.462 MB / 1.479 GB, free: 8.164 MB / 1.201 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.01367/1.335, allocations: 8.974 MB / 1.487 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/1.337, allocations: 1.04 MB / 1.488 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/1.339, allocations: 0.5115 MB / 1.489 GB, free: 12.92 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/1.339, allocations: 105.6 kB / 1.489 GB, free: 12.8 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/1.339, allocations: 51.06 kB / 1.489 GB, free: 12.74 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/1.339, allocations: 0 / 1.489 GB, free: 12.74 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.004736/1.344, allocations: 1.483 MB / 1.491 GB, free: 11.25 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/1.344, allocations: 59.97 kB / 1.491 GB, free: 11.18 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/1.349, allocations: 2.944 MB / 1.494 GB, free: 8.227 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/1.349, allocations: 49.7 kB / 1.494 GB, free: 8.172 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.35, allocations: 1.264 MB / 1.495 GB, free: 6.895 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/1.351, allocations: 268.3 kB / 1.495 GB, free: 6.629 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006311/1.351, allocations: 423.1 kB / 1.495 GB, free: 6.207 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.351, allocations: 301.1 kB / 1.496 GB, free: 5.91 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/1.353, allocations: 0.8207 MB / 1.497 GB, free: 5.086 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/1.355, allocations: 1.334 MB / 1.498 GB, free: 3.555 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/1.359, allocations: 1.918 MB / 1.5 GB, free: 1.484 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.359, allocations: 8 kB / 1.5 GB, free: 1.477 MB / 1.217 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005071/1.364, allocations: 2.42 MB / 1.502 GB, free: 15.04 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.364, allocations: 11.94 kB / 1.502 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.364, allocations: 12 kB / 1.502 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/1.364, allocations: 20.47 kB / 1.502 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.366, allocations: 387.5 kB / 1.503 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004686/1.366, allocations: 0.6094 MB / 1.503 GB, free: 13.99 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/1.369, allocations: 243.5 kB / 1.503 GB, free: 13.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.369, allocations: 71.98 kB / 1.503 GB, free: 13.68 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002795/1.372, allocations: 1.445 MB / 1.505 GB, free: 12.23 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002136/1.374, allocations: 1.31 MB / 1.506 GB, free: 10.73 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00329/1.377, allocations: 1.889 MB / 1.508 GB, free: 8.688 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.049e-05/1.377, allocations: 7.984 kB / 1.508 GB, free: 8.68 MB / 1.232 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004668/1.382, allocations: 2.365 MB / 1.51 GB, free: 6.305 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.382, allocations: 12.47 kB / 1.51 GB, free: 6.293 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.382, allocations: 16 kB / 1.51 GB, free: 6.277 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.382, allocations: 16 kB / 1.51 GB, free: 6.262 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.383, allocations: 367.4 kB / 1.511 GB, free: 5.902 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.952e-05/1.383, allocations: 27.86 kB / 1.511 GB, free: 5.875 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.386, allocations: 192.3 kB / 1.511 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.386, allocations: 67.98 kB / 1.511 GB, free: 5.621 MB / 1.232 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004328/1.386, allocations: 285.4 kB / 1.511 GB, free: 5.336 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/1.387, allocations: 264.5 kB / 1.511 GB, free: 5.074 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/1.39, allocations: 1.138 MB / 1.513 GB, free: 3.918 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.39, allocations: 8 kB / 1.513 GB, free: 3.91 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.39, allocations: 4 kB / 1.513 GB, free: 3.906 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/1.392, allocations: 0.9372 MB / 1.513 GB, free: 2.938 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006927/1.399, allocations: 3.347 MB / 1.517 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.399, allocations: 3.938 kB / 1.517 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.401, allocations: 219.8 kB / 1.517 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/1.401, allocations: 8 kB / 1.517 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/1.401, allocations: 15.98 kB / 1.517 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003818/1.401, allocations: 0.586 MB / 1.518 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.401, allocations: 4.031 kB / 1.518 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/1.406, allocations: 1.741 MB / 1.519 GB, free: 12.85 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.407, allocations: 469.3 kB / 1.52 GB, free: 12.37 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/1.407, allocations: 12 kB / 1.52 GB, free: 12.36 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.408, allocations: 87.92 kB / 1.52 GB, free: 12.27 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.408, allocations: 44.44 kB / 1.52 GB, free: 12.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.73e-05/1.409, allocations: 31.97 kB / 1.52 GB, free: 12.2 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003062/1.412, allocations: 1.964 MB / 1.522 GB, free: 10.24 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.41e-07/1.412, allocations: 0 / 1.522 GB, free: 10.24 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003261/1.415, allocations: 1.255 MB / 1.523 GB, free: 8.98 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/1.416, allocations: 0.5026 MB / 1.524 GB, free: 8.477 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006445/1.423, allocations: 2.778 MB / 1.526 GB, free: 5.703 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.423, allocations: 4.062 kB / 1.526 GB, free: 5.699 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.424, allocations: 487.1 kB / 1.527 GB, free: 5.223 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005874/1.43, allocations: 1.455 MB / 1.528 GB, free: 3.816 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4736/1.903, allocations: 4.922 MB / 1.533 GB, free: 412.4 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.905, allocations: 1.928 MB / 1.535 GB, free: 411.6 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009776/1.906, allocations: 218 kB / 1.535 GB, free: 411.6 MB / 1.248 GB Notification: Performance of SimCode: time 6.61e-07/1.906, allocations: 0.6875 kB / 1.535 GB, free: 411.6 MB / 1.248 GB Notification: Performance of Templates: time 0.07875/1.985, allocations: 58.33 MB / 1.592 GB, free: 388.7 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches