Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_latest_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.005954/0.005954, allocations: 101.8 kB / 15.73 MB, free: 6 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.001482/0.001482, allocations: 196 kB / 16.68 MB, free: 5.926 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.362/2.362, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.12 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.8591, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003821/0.8629, allocations: 2.306 MB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.8691, allocations: 3.776 MB / 1.213 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.8695, allocations: 8 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.8728, allocations: 1.05 MB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.8739, allocations: 425.2 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.8752, allocations: 0.5107 MB / 1.215 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004754/0.88, allocations: 3.152 MB / 1.218 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.8802, allocations: 32.75 kB / 1.218 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.8806, allocations: 235.2 kB / 1.218 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.881, allocations: 215.2 kB / 1.219 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.881, allocations: 20 kB / 1.219 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.8824, allocations: 0.7486 MB / 1.219 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.8826, allocations: 223.3 kB / 1.22 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.8829, allocations: 246.6 kB / 1.22 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.8845, allocations: 1.067 MB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8845, allocations: 0 / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8845, allocations: 3.938 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.8846, allocations: 8 kB / 1.221 GB, free: 15.47 MB / 0.9512 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.001613/0.8862, allocations: 0.9176 MB / 1.222 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8863, allocations: 8.031 kB / 1.222 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.8863, allocations: 42.73 kB / 1.222 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.8876, allocations: 216 kB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/0.8936, allocations: 3.588 MB / 1.226 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.8936, allocations: 8 kB / 1.226 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.8937, allocations: 8 kB / 1.226 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005855/0.8943, allocations: 261.4 kB / 1.226 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8943, allocations: 0 / 1.226 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.8943, allocations: 4 kB / 1.226 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.8944, allocations: 4 kB / 1.226 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/0.895, allocations: 227.8 kB / 1.226 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.8966, allocations: 0.8432 MB / 1.227 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.8974, allocations: 306.5 kB / 1.227 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.8978, allocations: 124.8 kB / 1.227 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.8978, allocations: 0 / 1.227 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.8978, allocations: 34.56 kB / 1.227 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.8978, allocations: 4 kB / 1.227 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.001294/0.8991, allocations: 436.6 kB / 1.228 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.8992, allocations: 55.41 kB / 1.228 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009929/0.9002, allocations: 0.7617 MB / 1.229 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.9003, allocations: 25.7 kB / 1.229 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.9005, allocations: 236.7 kB / 1.229 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.9005, allocations: 47.44 kB / 1.229 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.9008, allocations: 154 kB / 1.229 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9009, allocations: 366.8 kB / 1.229 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.9016, allocations: 446.9 kB / 1.23 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.9024, allocations: 0.5278 MB / 1.23 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.9037, allocations: 0.8667 MB / 1.231 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.9037, allocations: 4 kB / 1.231 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001795/0.9055, allocations: 1.072 MB / 1.232 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.9056, allocations: 8 kB / 1.232 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9056, allocations: 3.938 kB / 1.232 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.9056, allocations: 4 kB / 1.232 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.9061, allocations: 115.8 kB / 1.232 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.9061, allocations: 4 kB / 1.232 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.9066, allocations: 63.41 kB / 1.232 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.9067, allocations: 35.98 kB / 1.232 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008252/0.9075, allocations: 0.5443 MB / 1.233 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006662/0.9082, allocations: 472.4 kB / 1.233 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/0.9093, allocations: 0.7159 MB / 1.234 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.93e-06/0.9094, allocations: 0 / 1.234 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.0016/0.911, allocations: 0.9299 MB / 1.235 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.911, allocations: 4 kB / 1.235 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.911, allocations: 4 kB / 1.235 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.911, allocations: 4 kB / 1.235 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.9115, allocations: 107.8 kB / 1.235 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9115, allocations: 4 kB / 1.235 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.912, allocations: 63.64 kB / 1.235 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.9121, allocations: 24 kB / 1.235 GB, free: 500 kB / 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.0001878/0.9123, allocations: 204.1 kB / 1.235 GB, free: 288 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.9124, allocations: 55.25 kB / 1.235 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.9135, allocations: 358.8 kB / 1.236 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.9135, allocations: 0 / 1.236 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9135, allocations: 0 / 1.236 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9135, allocations: 0 / 1.236 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.9141, allocations: 417.3 kB / 1.236 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.9141, allocations: 0 / 1.236 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.9144, allocations: 43.95 kB / 1.236 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.9144, allocations: 3.938 kB / 1.236 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.9144, allocations: 8 kB / 1.236 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.9144, allocations: 0 / 1.236 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9144, allocations: 0 / 1.236 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/0.9153, allocations: 430.5 kB / 1.237 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.9156, allocations: 144.3 kB / 1.237 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.9157, allocations: 7.984 kB / 1.237 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.916, allocations: 19.98 kB / 1.237 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.9161, allocations: 11.98 kB / 1.237 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.9161, allocations: 8 kB / 1.237 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007108/0.9168, allocations: 0.5107 MB / 1.237 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9168, allocations: 0 / 1.237 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001072/0.9179, allocations: 323.8 kB / 1.238 GB, free: 13.89 MB / 0.9669 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.002009/0.9199, allocations: 1.215 MB / 1.239 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.9222, allocations: 1.141 MB / 1.24 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9222, allocations: 0 / 1.24 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.9226, allocations: 132.3 kB / 1.24 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.9237, allocations: 205 kB / 1.24 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009003/0.9327, allocations: 6.061 MB / 1.246 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.9333, allocations: 0.8896 MB / 1.247 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006787/0.934, allocations: 200.3 kB / 1.247 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.9343, allocations: 195.3 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of SimCode: time 1.623e-06/0.9343, allocations: 0 / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8651/1.799, allocations: 17.81 MB / 1.265 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/12.03, allocations: 1.875 kB / 1.265 GB, free: 2.164 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches