Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008843/0.008843, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.00202/0.00202, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.256/2.256, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.89 kB / 0.9508 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8924/0.8938, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003057/0.8969, allocations: 2.036 MB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.8999, allocations: 2.016 MB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.9001, allocations: 4.5 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007859/0.9009, allocations: 255.1 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007475/0.9017, allocations: 301.8 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.9028, allocations: 489 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008418/0.9036, allocations: 467.8 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.9038, allocations: 41.02 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.9042, allocations: 167.1 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.9045, allocations: 164.6 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.9046, allocations: 15.06 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009016/0.9055, allocations: 454.2 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.9056, allocations: 103 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.9058, allocations: 115.5 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.9069, allocations: 0.5851 MB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9069, allocations: 4.703 kB / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9069, allocations: 0 / 1.095 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.9069, allocations: 3.938 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009227/0.9078, allocations: 0.5863 MB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9079, allocations: 14.12 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/0.9088, allocations: 139.6 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.9093, allocations: 338.7 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.9093, allocations: 8.156 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.9093, allocations: 12.22 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.9099, allocations: 200.9 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.9099, allocations: 0 / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.91, allocations: 16.78 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.91, allocations: 2.125 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.9107, allocations: 200.8 kB / 1.096 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.9118, allocations: 0.55 MB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.9125, allocations: 209.1 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.9129, allocations: 102 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.9129, allocations: 6.344 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.913, allocations: 32.19 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.913, allocations: 1.125 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.001261/0.9142, allocations: 341.5 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.9143, allocations: 53.88 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.9147, allocations: 338.8 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.9148, allocations: 25.7 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.9149, allocations: 158.2 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.9149, allocations: 28.88 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.9151, allocations: 54.12 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.9152, allocations: 339.4 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.9157, allocations: 156.5 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.9162, allocations: 199.8 kB / 1.099 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.9171, allocations: 342.5 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9171, allocations: 0.9062 kB / 1.099 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001156/0.9183, allocations: 412.6 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.9183, allocations: 6.922 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.9184, allocations: 1.812 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.9184, allocations: 2.906 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.9188, allocations: 60.89 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.9188, allocations: 12.42 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.9191, allocations: 40.77 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.9191, allocations: 13.67 kB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005555/0.9197, allocations: 248.3 kB / 1.1 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004801/0.9202, allocations: 187.1 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008378/0.921, allocations: 294.3 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.9211, allocations: 0.8125 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.001109/0.9222, allocations: 366.3 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9222, allocations: 6.859 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9222, allocations: 1.656 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.994e-06/0.9222, allocations: 7.25 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.9225, allocations: 57.38 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9226, allocations: 3.828 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.9228, allocations: 40.12 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.9229, allocations: 12.19 kB / 1.101 GB, free: 14.09 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.923, allocations: 187.8 kB / 1.101 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.9231, allocations: 27.78 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009215/0.924, allocations: 281.5 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.924, allocations: 1.375 kB / 1.101 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.924, allocations: 9.547 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.924, allocations: 4.656 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.9244, allocations: 291.7 kB / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9244, allocations: 4 kB / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.9247, allocations: 38.83 kB / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.9247, allocations: 0 / 1.102 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.9247, allocations: 7.766 kB / 1.102 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.9247, allocations: 0 / 1.102 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.9247, allocations: 6.062 kB / 1.102 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.9256, allocations: 349.1 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.9257, allocations: 117.2 kB / 1.102 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.9257, allocations: 1.734 kB / 1.102 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.926, allocations: 25.3 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.9261, allocations: 14.56 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.9261, allocations: 4.766 kB / 1.102 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002877/0.9264, allocations: 241.6 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9264, allocations: 0 / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000722/0.9271, allocations: 149.3 kB / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004556/0.9276, allocations: 202.7 kB / 1.103 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.929, allocations: 437.7 kB / 1.103 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9291, allocations: 3.938 kB / 1.103 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.9295, allocations: 111.9 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.9301, allocations: 100.9 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.9314, allocations: 498.2 kB / 1.104 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.932, allocations: 0.7684 MB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003302/0.9324, allocations: 86.78 kB / 1.105 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.9325, allocations: 38.97 kB / 1.105 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.9325, allocations: 0 / 1.105 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.01619/0.9487, allocations: 6.775 MB / 1.111 GB, free: 11.26 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches