Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_11_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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 128 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.001189/0.001189, allocations: 196.3 kB / 16.53 MB, free: 6.672 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 469.8 MB / 0.7424 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 70.45 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2717, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003534/0.2753, allocations: 2.307 MB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005935/0.2813, allocations: 3.784 MB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.2815, allocations: 7.938 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005444/0.287, allocations: 3.001 MB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008182/0.2878, allocations: 403 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2889, allocations: 0.5001 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004379/0.2933, allocations: 3.109 MB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2934, allocations: 44.67 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.2937, allocations: 203.3 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.294, allocations: 203.2 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.2941, allocations: 20 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2953, allocations: 0.7369 MB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.2956, allocations: 223.4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.2958, allocations: 250.5 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.297, allocations: 1.048 MB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.297, allocations: 0 / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.297, allocations: 0 / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.297, allocations: 0 / 1.08 GB, free: 14.35 MB / 0.8419 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.001398/0.2984, allocations: 0.9178 MB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2985, allocations: 8.031 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.2985, allocations: 50.67 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2998, allocations: 204 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/0.3057, allocations: 3.565 MB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.3057, allocations: 12 kB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.3058, allocations: 12 kB / 1.084 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.3063, allocations: 261.4 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3064, allocations: 0 / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3064, allocations: 4 kB / 1.084 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3064, allocations: 4 kB / 1.084 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.3071, allocations: 239.8 kB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.3084, allocations: 0.8319 MB / 1.085 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.3091, allocations: 310.4 kB / 1.086 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.3095, allocations: 124.8 kB / 1.086 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3095, allocations: 4 kB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3096, allocations: 30.56 kB / 1.086 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3096, allocations: 0 / 1.086 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.00121/0.3108, allocations: 448.6 kB / 1.086 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3108, allocations: 51.41 kB / 1.086 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/0.3116, allocations: 0.7577 MB / 1.087 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3117, allocations: 25.7 kB / 1.087 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.3119, allocations: 244.6 kB / 1.087 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.3119, allocations: 39.53 kB / 1.087 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.3122, allocations: 161.9 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3123, allocations: 370.8 kB / 1.088 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.313, allocations: 447.2 kB / 1.088 GB, free: 5.051 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.3138, allocations: 0.5278 MB / 1.089 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.3151, allocations: 0.8702 MB / 1.09 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3152, allocations: 7.875 kB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00172/0.3169, allocations: 1.069 MB / 1.091 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3169, allocations: 8 kB / 1.091 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3169, allocations: 4 kB / 1.091 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.317, allocations: 4 kB / 1.091 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3174, allocations: 115.8 kB / 1.091 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3175, allocations: 8 kB / 1.091 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.3178, allocations: 75.34 kB / 1.091 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.3179, allocations: 31.98 kB / 1.091 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000802/0.3187, allocations: 0.5443 MB / 1.092 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006839/0.3194, allocations: 468.4 kB / 1.092 GB, free: 1.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001156/0.3206, allocations: 0.7276 MB / 1.093 GB, free: 496 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.3206, allocations: 0 / 1.093 GB, free: 496 kB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001484/0.3221, allocations: 0.9222 MB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.3221, allocations: 5.25 kB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3221, allocations: 4 kB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.3221, allocations: 4 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.3225, allocations: 115.8 kB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3226, allocations: 7.984 kB / 1.094 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.3229, allocations: 55.66 kB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.323, allocations: 27.98 kB / 1.094 GB, free: 15.34 MB / 0.8575 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.0001567/0.3232, allocations: 204.1 kB / 1.094 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.957e-05/0.3232, allocations: 55.25 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.3242, allocations: 362.7 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3242, allocations: 3.984 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3242, allocations: 0 / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3242, allocations: 4 kB / 1.094 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.3247, allocations: 417.2 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3247, allocations: 0 / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.325, allocations: 39.97 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.325, allocations: 0 / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.325, allocations: 7.984 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.325, allocations: 4 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.325, allocations: 0 / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.3258, allocations: 438.5 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.326, allocations: 152.3 kB / 1.095 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.3261, allocations: 0 / 1.095 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.3263, allocations: 23.97 kB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3264, allocations: 12 kB / 1.095 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3264, allocations: 11.98 kB / 1.095 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005467/0.327, allocations: 0.499 MB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.327, allocations: 0 / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008312/0.3278, allocations: 311.9 kB / 1.096 GB, free: 12.74 MB / 0.8575 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.001714/0.3295, allocations: 1.231 MB / 1.097 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.3315, allocations: 1.155 MB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3315, allocations: 0 / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.3319, allocations: 132 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/0.3327, allocations: 200 kB / 1.099 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/0.3406, allocations: 6.089 MB / 1.105 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.3411, allocations: 0.9012 MB / 1.106 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.3418, allocations: 188.2 kB / 1.106 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.3421, allocations: 199.3 kB / 1.106 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of SimCode: time 8.11e-07/0.3421, allocations: 0 / 1.106 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.361/3.703, allocations: 17.45 MB / 1.123 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.961/13.66, allocations: 7.594 kB / 1.123 GB, free: 1.293 MB / 0.8731 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches