Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001496/0.001497, allocations: 99.06 kB / 16.27 MB, free: 5.969 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.00147/0.00147, allocations: 193.8 kB / 17.2 MB, free: 5.594 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.177/2.177, allocations: 390.2 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 69.25 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2885, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8684/1.157, allocations: 323.5 MB / 1.266 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02957/1.187, allocations: 20.21 MB / 1.286 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/1.191, allocations: 103.4 kB / 1.286 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004738/1.196, allocations: 1.503 MB / 1.287 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/1.208, allocations: 4.241 MB / 1.292 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006487/1.214, allocations: 2.326 MB / 1.294 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009107/1.223, allocations: 5.951 MB / 1.3 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003558/1.227, allocations: 2.147 MB / 1.302 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007537/1.235, allocations: 3.204 MB / 1.305 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003774/1.238, allocations: 1.717 MB / 1.307 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007073/1.239, allocations: 216 kB / 1.307 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008125/1.247, allocations: 3.687 MB / 1.31 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001501/1.249, allocations: 0.8725 MB / 1.311 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/1.251, allocations: 1.33 MB / 1.313 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008928/1.26, allocations: 4.69 MB / 1.317 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.26, allocations: 0 / 1.317 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/1.26, allocations: 0 / 1.317 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.544e-05/1.26, allocations: 0 / 1.317 GB, free: 9.551 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005541/1.266, allocations: 2.967 MB / 1.32 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.266, allocations: 12.03 kB / 1.32 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/1.273, allocations: 1.011 MB / 1.321 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/1.277, allocations: 1.92 MB / 1.323 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/1.278, allocations: 171 kB / 1.323 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003445/1.278, allocations: 148 kB / 1.323 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/1.281, allocations: 1.713 MB / 1.325 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/1.281, allocations: 4 kB / 1.325 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.282, allocations: 56 kB / 1.325 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/1.282, allocations: 50.58 kB / 1.325 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/1.285, allocations: 1.462 MB / 1.326 GB, free: 15.82 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.01133/1.297, allocations: 8.021 MB / 1.334 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/1.299, allocations: 1.098 MB / 1.335 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.3, allocations: 0.537 MB / 1.336 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.301, allocations: 113.7 kB / 1.336 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/1.301, allocations: 43.16 kB / 1.336 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/1.301, allocations: 4 kB / 1.336 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.004282/1.305, allocations: 1.483 MB / 1.337 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/1.305, allocations: 60.06 kB / 1.338 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/1.307, allocations: 1.797 MB / 1.339 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/1.308, allocations: 45.7 kB / 1.339 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007982/1.308, allocations: 0.9918 MB / 1.34 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.309, allocations: 256.3 kB / 1.341 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/1.309, allocations: 210.4 kB / 1.341 GB, free: 440 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.309, allocations: 345.9 kB / 1.341 GB, free: 88 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/1.311, allocations: 496.5 kB / 1.342 GB, free: 15.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/1.312, allocations: 0.8755 MB / 1.342 GB, free: 14.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/1.315, allocations: 1.285 MB / 1.344 GB, free: 13.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/1.315, allocations: 3.938 kB / 1.344 GB, free: 13.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003568/1.318, allocations: 1.498 MB / 1.345 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/1.318, allocations: 8 kB / 1.345 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.318, allocations: 12 kB / 1.345 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/1.318, allocations: 12 kB / 1.345 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.32, allocations: 296.8 kB / 1.345 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003778/1.32, allocations: 0.6016 MB / 1.346 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.322, allocations: 168.1 kB / 1.346 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.322, allocations: 55.98 kB / 1.346 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00184/1.324, allocations: 0.8626 MB / 1.347 GB, free: 9.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001277/1.325, allocations: 0.8209 MB / 1.348 GB, free: 8.598 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002249/1.327, allocations: 1.196 MB / 1.349 GB, free: 7.273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/1.327, allocations: 0 / 1.349 GB, free: 7.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003095/1.33, allocations: 1.393 MB / 1.35 GB, free: 5.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.33, allocations: 11.98 kB / 1.35 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.33, allocations: 8 kB / 1.35 GB, free: 5.852 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.33, allocations: 16.41 kB / 1.35 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.331, allocations: 271.6 kB / 1.351 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/1.331, allocations: 15.94 kB / 1.351 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.333, allocations: 128.6 kB / 1.351 GB, free: 5.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/1.333, allocations: 51.92 kB / 1.351 GB, free: 5.379 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003191/1.333, allocations: 240.5 kB / 1.351 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/1.334, allocations: 193.6 kB / 1.351 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/1.337, allocations: 1.161 MB / 1.352 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.337, allocations: 8 kB / 1.352 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.337, allocations: 7.875 kB / 1.352 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002255/1.339, allocations: 0.9801 MB / 1.353 GB, free: 2.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/1.345, allocations: 3.055 MB / 1.356 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.345, allocations: 4 kB / 1.356 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.346, allocations: 211.8 kB / 1.357 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/1.346, allocations: 4 kB / 1.357 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/1.346, allocations: 27.97 kB / 1.357 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003035/1.347, allocations: 0.5859 MB / 1.357 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.347, allocations: 8.031 kB / 1.357 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.351, allocations: 1.729 MB / 1.359 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008302/1.352, allocations: 366.4 kB / 1.359 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/1.352, allocations: 20 kB / 1.359 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.353, allocations: 75.91 kB / 1.359 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.353, allocations: 52.44 kB / 1.359 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/1.353, allocations: 23.98 kB / 1.359 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001697/1.355, allocations: 1.22 MB / 1.361 GB, free: 11.17 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.355, allocations: 4 kB / 1.361 GB, free: 11.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002416/1.357, allocations: 0.9623 MB / 1.362 GB, free: 10.2 MB / 1.029 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 (74): * Single equations (assignments): 73 * 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.0009602/1.358, allocations: 363.3 kB / 1.362 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004744/1.363, allocations: 1.824 MB / 1.364 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/1.363, allocations: 4 kB / 1.364 GB, free: 8.023 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/1.364, allocations: 0.4916 MB / 1.364 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/1.369, allocations: 1.049 MB / 1.365 GB, free: 6.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/1.375, allocations: 3.704 MB / 1.369 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.376, allocations: 1.562 MB / 1.37 GB, free: 1.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006388/1.377, allocations: 155.4 kB / 1.37 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.377, allocations: 0 / 1.37 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of Templates: time 0.06094/1.438, allocations: 43.62 MB / 1.413 GB, free: 5.652 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches