Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.007792/0.007792, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.002154/0.002154, allocations: 195 kB / 16.67 MB, free: 6.34 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 62.12 kB / 0.9504 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3056, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002845/0.3085, allocations: 1.292 MB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3097, allocations: 0.5972 MB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.3097, allocations: 0 / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.3098, allocations: 3.938 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.3099, allocations: 3.984 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3107, allocations: 140.4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.3108, allocations: 27.92 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.3108, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.3109, allocations: 11.88 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.3109, allocations: 19.91 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3109, allocations: 4 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.3115, allocations: 335.4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.3116, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.3116, allocations: 7.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.3119, allocations: 147.4 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.312, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.295e-06/0.312, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.312, allocations: 4 kB / 1.09 GB, free: 15.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005025/0.3125, allocations: 359.4 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3126, allocations: 8.031 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/0.3126, allocations: 38.75 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.3126, allocations: 4.922 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3128, allocations: 168.2 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3128, allocations: 384 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3128, allocations: 4.375 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.313, allocations: 46.25 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.313, allocations: 3.938 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.313, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.313, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.3131, allocations: 15.98 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3134, allocations: 252.9 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.3137, allocations: 46.56 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.794e-05/0.3137, allocations: 20.86 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3138, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3138, allocations: 34.56 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.375e-06/0.3138, allocations: 3.984 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.314, allocations: 57.62 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3141, allocations: 51.41 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.991e-05/0.3142, allocations: 105.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3142, allocations: 29.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.3142, allocations: 88.05 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.3143, allocations: 11.84 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3143, allocations: 17.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3144, allocations: 314.8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.3145, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.3145, allocations: 25.7 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.3146, allocations: 37.66 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3146, allocations: 4.062 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.3147, allocations: 57.59 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3147, allocations: 11.94 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3147, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3148, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.3148, allocations: 11.94 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3148, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.3149, allocations: 3.984 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3149, allocations: 12.03 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 9.609e-05/0.315, allocations: 109.8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.315, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3152, allocations: 53.19 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3152, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3152, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3152, allocations: 3.984 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3154, allocations: 165.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3154, allocations: 4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.3155, allocations: 15.92 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3155, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3155, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3155, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3155, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.3157, allocations: 147.5 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.3157, allocations: 85.62 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3157, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.3158, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.3158, allocations: 3.984 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3158, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.3159, allocations: 79.27 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3159, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000263/0.3162, allocations: 24 kB / 1.092 GB, free: 12.56 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 (4): * Single equations (assignments): 4 * 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.0005605/0.3167, allocations: 0.7046 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3169, allocations: 19.94 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3169, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-05/0.3169, allocations: 19.92 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.3171, allocations: 5.406 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.3177, allocations: 160.2 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.318, allocations: 0.6846 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.3181, allocations: 256 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.3181, allocations: 15.42 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of SimCode: time 7.72e-07/0.3181, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.3394, allocations: 1.399 MB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/8.529, allocations: 6.594 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches