Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00641/0.00641, allocations: 101 kB / 15.73 MB, free: 6.473 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.00126/0.00126, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003881/0.3008, allocations: 2.311 MB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006252/0.3071, allocations: 3.794 MB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.3073, allocations: 4 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003096/0.3105, allocations: 1.043 MB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.3115, allocations: 422.4 kB / 1.174 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.3129, allocations: 0.5107 MB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004762/0.3177, allocations: 3.16 MB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.3179, allocations: 36.73 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003643/0.3182, allocations: 231.2 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.3185, allocations: 219.2 kB / 1.178 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.3186, allocations: 20 kB / 1.178 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3199, allocations: 0.7486 MB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.3201, allocations: 215.4 kB / 1.179 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.3204, allocations: 254.5 kB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3217, allocations: 1.063 MB / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3217, allocations: 0 / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3217, allocations: 3.984 kB / 1.18 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3217, allocations: 0 / 1.18 GB, free: 9.305 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001486/0.3232, allocations: 0.9255 MB / 1.181 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3232, allocations: 8.031 kB / 1.181 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.3233, allocations: 38.75 kB / 1.181 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.3245, allocations: 216 kB / 1.181 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005875/0.3304, allocations: 3.581 MB / 1.184 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3304, allocations: 8 kB / 1.184 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.696e-05/0.3305, allocations: 12 kB / 1.185 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.331, allocations: 260 kB / 1.185 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3311, allocations: 0 / 1.185 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.3311, allocations: 4 kB / 1.185 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3311, allocations: 0 / 1.185 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.3317, allocations: 235.8 kB / 1.185 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.3331, allocations: 0.8432 MB / 1.186 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.3338, allocations: 302.6 kB / 1.186 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.3341, allocations: 124.8 kB / 1.186 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3341, allocations: 3.984 kB / 1.186 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3342, allocations: 34.56 kB / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 3.046e-06/0.3342, allocations: 0 / 1.186 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.001146/0.3353, allocations: 444.9 kB / 1.187 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3354, allocations: 55.5 kB / 1.187 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008359/0.3362, allocations: 0.7693 MB / 1.187 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.3363, allocations: 25.7 kB / 1.188 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3365, allocations: 232.8 kB / 1.188 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.652e-05/0.3365, allocations: 43.45 kB / 1.188 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3367, allocations: 154 kB / 1.188 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3369, allocations: 366.8 kB / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006718/0.3376, allocations: 443 kB / 1.189 GB, free: 16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.3383, allocations: 0.5316 MB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.3396, allocations: 0.8663 MB / 1.19 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3396, allocations: 0 / 1.19 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001584/0.3412, allocations: 1.076 MB / 1.191 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3412, allocations: 11.98 kB / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3412, allocations: 0 / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3412, allocations: 4 kB / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.3417, allocations: 111.8 kB / 1.191 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3417, allocations: 8 kB / 1.191 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.3421, allocations: 71.34 kB / 1.191 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.3422, allocations: 31.98 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007648/0.343, allocations: 0.5442 MB / 1.192 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006431/0.3436, allocations: 468.5 kB / 1.192 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001053/0.3447, allocations: 0.7198 MB / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.3447, allocations: 0 / 1.193 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001359/0.3461, allocations: 0.9339 MB / 1.194 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3461, allocations: 4 kB / 1.194 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3461, allocations: 4 kB / 1.194 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.3461, allocations: 4 kB / 1.194 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.3465, allocations: 103.9 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3466, allocations: 7.938 kB / 1.194 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.347, allocations: 63.64 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.347, allocations: 24 kB / 1.194 GB, free: 10.3 MB / 0.9512 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001659/0.3472, allocations: 200.1 kB / 1.194 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.3473, allocations: 63.22 kB / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/0.3482, allocations: 350.8 kB / 1.195 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3482, allocations: 4 kB / 1.195 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3483, allocations: 0 / 1.195 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3483, allocations: 0 / 1.195 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.3487, allocations: 421 kB / 1.195 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3487, allocations: 0 / 1.195 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.349, allocations: 39.97 kB / 1.195 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.349, allocations: 4 kB / 1.195 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.349, allocations: 11.98 kB / 1.195 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.349, allocations: 0 / 1.195 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.349, allocations: 0 / 1.195 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.3498, allocations: 430.5 kB / 1.196 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.35, allocations: 148.3 kB / 1.196 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.35, allocations: 4 kB / 1.196 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.3503, allocations: 23.97 kB / 1.196 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3504, allocations: 11.98 kB / 1.196 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3504, allocations: 8 kB / 1.196 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005656/0.351, allocations: 0.5068 MB / 1.196 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.351, allocations: 4 kB / 1.196 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009611/0.3519, allocations: 315.9 kB / 1.197 GB, free: 7.703 MB / 0.9512 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 (11): * Single equations (assignments): 11 * 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.001746/0.3537, allocations: 1.219 MB / 1.198 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00202/0.3557, allocations: 1.139 MB / 1.199 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3557, allocations: 0 / 1.199 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.3561, allocations: 132.3 kB / 1.199 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.3571, allocations: 207.7 kB / 1.199 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008592/0.3657, allocations: 6.049 MB / 1.205 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.3662, allocations: 0.8935 MB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006479/0.3669, allocations: 192.3 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.3673, allocations: 195.4 kB / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of SimCode: time 1.172e-06/0.3673, allocations: 0 / 1.206 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.4064, allocations: 17.57 MB / 1.224 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.424, allocations: 10.28 kB / 1.224 GB, free: 12.21 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches