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.001285/0.001285, allocations: 109.6 kB / 16.42 MB, free: 6.461 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.001207/0.001207, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.144/2.144, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6705, allocations: 140.4 MB / 1.089 GB, free: 5.793 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMacSta.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMacDyn.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.314/0.9845, allocations: 323.5 MB / 1.405 GB, free: 9.852 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02531/1.01, allocations: 20.22 MB / 1.424 GB, free: 5.574 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/1.012, allocations: 91.5 kB / 1.424 GB, free: 5.484 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003387/1.016, allocations: 1.558 MB / 1.426 GB, free: 3.918 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009072/1.025, allocations: 4.375 MB / 1.43 GB, free: 15.52 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004864/1.03, allocations: 2.365 MB / 1.433 GB, free: 13.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006828/1.037, allocations: 5.949 MB / 1.438 GB, free: 7.203 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002836/1.039, allocations: 2.158 MB / 1.44 GB, free: 4.996 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006236/1.046, allocations: 3.321 MB / 1.444 GB, free: 1.664 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/1.049, allocations: 1.718 MB / 1.445 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000551/1.049, allocations: 223.9 kB / 1.446 GB, free: 15.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006668/1.056, allocations: 3.683 MB / 1.449 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/1.057, allocations: 0.8725 MB / 1.45 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/1.059, allocations: 1.33 MB / 1.451 GB, free: 9.824 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006906/1.066, allocations: 4.748 MB / 1.456 GB, free: 5.062 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.066, allocations: 0 / 1.456 GB, free: 5.062 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/1.066, allocations: 0 / 1.456 GB, free: 5.062 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.54e-05/1.066, allocations: 0 / 1.456 GB, free: 5.062 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004549/1.071, allocations: 2.959 MB / 1.459 GB, free: 2.039 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.071, allocations: 12.03 kB / 1.459 GB, free: 2.027 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006611/1.077, allocations: 1.015 MB / 1.46 GB, free: 1.008 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/1.081, allocations: 1.995 MB / 1.462 GB, free: 14.94 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/1.081, allocations: 114.7 kB / 1.462 GB, free: 14.82 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/1.081, allocations: 140 kB / 1.462 GB, free: 14.69 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/1.085, allocations: 1.713 MB / 1.464 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.085, allocations: 4 kB / 1.464 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.085, allocations: 56 kB / 1.464 GB, free: 12.85 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/1.085, allocations: 46.58 kB / 1.464 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/1.088, allocations: 1.447 MB / 1.465 GB, free: 11.35 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.009554/1.098, allocations: 7.954 MB / 1.473 GB, free: 2.797 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/1.1, allocations: 1.088 MB / 1.474 GB, free: 1.66 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.101, allocations: 0.5256 MB / 1.475 GB, free: 1.133 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/1.102, allocations: 113.7 kB / 1.475 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.102, allocations: 43.22 kB / 1.475 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of pre-optimization done (n=72): time 2.254e-06/1.102, allocations: 0 / 1.475 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of matching and sorting (n=72): time 0.003945/1.106, allocations: 1.468 MB / 1.476 GB, free: 15.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/1.106, allocations: 60.06 kB / 1.476 GB, free: 15.41 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/1.108, allocations: 1.79 MB / 1.478 GB, free: 13.58 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.455e-05/1.108, allocations: 49.7 kB / 1.478 GB, free: 13.53 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/1.109, allocations: 0.984 MB / 1.479 GB, free: 12.53 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/1.109, allocations: 256.3 kB / 1.479 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/1.109, allocations: 226.3 kB / 1.479 GB, free: 12.05 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.109, allocations: 345.9 kB / 1.48 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/1.111, allocations: 492.5 kB / 1.48 GB, free: 11.22 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/1.112, allocations: 0.8677 MB / 1.481 GB, free: 10.18 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/1.115, allocations: 1.278 MB / 1.482 GB, free: 8.773 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.115, allocations: 0 / 1.482 GB, free: 8.773 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003173/1.118, allocations: 1.495 MB / 1.484 GB, free: 7.27 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.118, allocations: 12 kB / 1.484 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.118, allocations: 8 kB / 1.484 GB, free: 7.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.118, allocations: 16 kB / 1.484 GB, free: 7.234 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.119, allocations: 287.8 kB / 1.484 GB, free: 6.953 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000345/1.12, allocations: 0.6017 MB / 1.485 GB, free: 6.328 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.121, allocations: 164.1 kB / 1.485 GB, free: 6.168 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.455e-05/1.121, allocations: 55.98 kB / 1.485 GB, free: 6.113 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001617/1.123, allocations: 0.8541 MB / 1.486 GB, free: 5.254 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001277/1.124, allocations: 0.8248 MB / 1.487 GB, free: 4.258 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002234/1.126, allocations: 1.176 MB / 1.488 GB, free: 2.953 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/1.126, allocations: 4 kB / 1.488 GB, free: 2.949 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002757/1.129, allocations: 1.381 MB / 1.489 GB, free: 1.555 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.129, allocations: 10.19 kB / 1.489 GB, free: 1.547 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.129, allocations: 11.98 kB / 1.489 GB, free: 1.535 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.129, allocations: 16 kB / 1.489 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.13, allocations: 264 kB / 1.489 GB, free: 1.262 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/1.13, allocations: 23.92 kB / 1.489 GB, free: 1.238 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.131, allocations: 124.6 kB / 1.489 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/1.131, allocations: 43.98 kB / 1.489 GB, free: 1.07 MB / 1.217 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.0002549/1.132, allocations: 256.2 kB / 1.49 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/1.132, allocations: 189.6 kB / 1.49 GB, free: 0.625 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/1.135, allocations: 1.149 MB / 1.491 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002287/1.137, allocations: 0.9724 MB / 1.492 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.137, allocations: 4 kB / 1.492 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/1.138, allocations: 362.3 kB / 1.492 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/1.138, allocations: 15.98 kB / 1.492 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.139, allocations: 71.94 kB / 1.492 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/1.139, allocations: 44.53 kB / 1.492 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003298/1.142, allocations: 1.162 MB / 1.494 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003802/1.146, allocations: 1.81 MB / 1.495 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001117/1.147, allocations: 472.9 kB / 1.496 GB, free: 10.49 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001537/1.149, allocations: 1.22 MB / 1.497 GB, free: 9.254 MB / 1.232 GB Notification: Performance of Backend: time 3.21e-07/1.149, allocations: 0 / 1.497 GB, free: 9.254 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005417/1.154, allocations: 2.146 MB / 1.499 GB, free: 7.117 MB / 1.232 GB Notification: Performance of SimCode: time 0.007345/1.162, allocations: 4.62 MB / 1.504 GB, free: 2.457 MB / 1.232 GB Notification: Performance of Templates: time 0.07037/1.232, allocations: 49.7 MB / 1.552 GB, free: 1.305 MB / 1.279 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