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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001277, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.53 kB / 0.8992 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.275, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003886/0.2789, allocations: 2.319 MB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005866/0.2848, allocations: 3.787 MB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.2851, allocations: 4 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005298/0.2905, allocations: 3.01 MB / 1.062 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008525/0.2913, allocations: 398.5 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2924, allocations: 0.499 MB / 1.063 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004218/0.2966, allocations: 3.099 MB / 1.066 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2967, allocations: 48.66 kB / 1.066 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.2971, allocations: 195.4 kB / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2974, allocations: 219.1 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.2975, allocations: 16 kB / 1.066 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.2985, allocations: 0.7409 MB / 1.067 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.2987, allocations: 219.3 kB / 1.067 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.299, allocations: 242.6 kB / 1.067 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.3004, allocations: 1.055 MB / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3004, allocations: 0 / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3004, allocations: 0 / 1.068 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.3004, allocations: 0 / 1.068 GB, free: 8.453 MB / 0.8262 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.001617/0.302, allocations: 0.9138 MB / 1.069 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3021, allocations: 8.625 kB / 1.069 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.3021, allocations: 42.73 kB / 1.069 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.3034, allocations: 212 kB / 1.069 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/0.3093, allocations: 3.565 MB / 1.073 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.3093, allocations: 19.98 kB / 1.073 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.3094, allocations: 12 kB / 1.073 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.31, allocations: 249.4 kB / 1.073 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.31, allocations: 3.938 kB / 1.073 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.31, allocations: 12 kB / 1.073 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.31, allocations: 0 / 1.073 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.3107, allocations: 243.8 kB / 1.073 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.312, allocations: 0.8241 MB / 1.074 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.3128, allocations: 306.4 kB / 1.075 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.3131, allocations: 124.8 kB / 1.075 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.3132, allocations: 0 / 1.075 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3132, allocations: 38.56 kB / 1.075 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 3.496e-06/0.3132, allocations: 3.938 kB / 1.075 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001233/0.3145, allocations: 444.6 kB / 1.075 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3145, allocations: 63.33 kB / 1.075 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.3153, allocations: 0.75 MB / 1.076 GB, free: 456 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.3153, allocations: 29.7 kB / 1.076 GB, free: 420 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3155, allocations: 244.6 kB / 1.076 GB, free: 172 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.3156, allocations: 39.55 kB / 1.076 GB, free: 132 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3158, allocations: 154 kB / 1.076 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.316, allocations: 374.8 kB / 1.077 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.3166, allocations: 442.9 kB / 1.077 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.3174, allocations: 0.5278 MB / 1.078 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.3188, allocations: 0.8741 MB / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3188, allocations: 7.938 kB / 1.079 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00167/0.3204, allocations: 1.072 MB / 1.08 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3205, allocations: 7.984 kB / 1.08 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3205, allocations: 4 kB / 1.08 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3205, allocations: 4 kB / 1.08 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.321, allocations: 111.9 kB / 1.08 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.321, allocations: 4 kB / 1.08 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.3215, allocations: 63.41 kB / 1.08 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.3215, allocations: 35.98 kB / 1.08 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007693/0.3223, allocations: 0.5457 MB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006649/0.323, allocations: 472.4 kB / 1.081 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.3242, allocations: 0.7279 MB / 1.082 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.3242, allocations: 4 kB / 1.082 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001488/0.3257, allocations: 0.9183 MB / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3257, allocations: 11.98 kB / 1.082 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3257, allocations: 3.938 kB / 1.082 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.192e-06/0.3257, allocations: 4 kB / 1.082 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.3261, allocations: 111.9 kB / 1.083 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3262, allocations: 4 kB / 1.083 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.3266, allocations: 63.64 kB / 1.083 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3266, allocations: 27.94 kB / 1.083 GB, free: 9.445 MB / 0.8419 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.0001545/0.3268, allocations: 208 kB / 1.083 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.3269, allocations: 51.25 kB / 1.083 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000974/0.3279, allocations: 354.8 kB / 1.083 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3279, allocations: 8 kB / 1.083 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3279, allocations: 0 / 1.083 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3279, allocations: 0 / 1.083 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.3283, allocations: 417.2 kB / 1.084 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3284, allocations: 0 / 1.084 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.3286, allocations: 39.95 kB / 1.084 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3286, allocations: 0 / 1.084 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3286, allocations: 7.938 kB / 1.084 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3287, allocations: 4 kB / 1.084 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3287, allocations: 0 / 1.084 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.3295, allocations: 430.5 kB / 1.084 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3297, allocations: 152.3 kB / 1.084 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.3297, allocations: 0 / 1.084 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.33, allocations: 31.97 kB / 1.084 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.3301, allocations: 7.984 kB / 1.084 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3301, allocations: 8 kB / 1.084 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005634/0.3307, allocations: 0.5107 MB / 1.085 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3307, allocations: 0 / 1.085 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008608/0.3316, allocations: 307.9 kB / 1.085 GB, free: 6.848 MB / 0.8419 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.001761/0.3333, allocations: 1.231 MB / 1.086 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001962/0.3353, allocations: 1.153 MB / 1.087 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3353, allocations: 0 / 1.087 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.3357, allocations: 132.2 kB / 1.088 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.3365, allocations: 212.4 kB / 1.088 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007998/0.3445, allocations: 6.085 MB / 1.094 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.3451, allocations: 0.8973 MB / 1.095 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007093/0.3458, allocations: 200.2 kB / 1.095 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.3461, allocations: 199.3 kB / 1.095 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3462, allocations: 0 / 1.095 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.3847, allocations: 17.44 MB / 1.112 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.757, allocations: 13.12 kB / 1.112 GB, free: 11.39 MB / 0.8731 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