Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_10_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.007512/0.007512, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001754/0.001755, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.81/2.81, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3806, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00489/0.3856, allocations: 1.289 MB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3871, allocations: 0.5957 MB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.3871, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.3872, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.3873, allocations: 3.938 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.3884, allocations: 143.4 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.687e-05/0.3885, allocations: 19.92 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.3886, allocations: 3.984 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.3887, allocations: 8 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.3888, allocations: 11.94 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3888, allocations: 4 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008797/0.3897, allocations: 343.3 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.3898, allocations: 7.984 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3898, allocations: 7.938 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.3903, allocations: 147.4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3903, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3903, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3903, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 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.0006962/0.391, allocations: 363.4 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3911, allocations: 11.97 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.927e-05/0.3912, allocations: 34.75 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.3912, allocations: 8.844 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3914, allocations: 160.4 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.3914, allocations: 384 / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3914, allocations: 8.375 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3916, allocations: 42.25 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3916, allocations: 3.938 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3916, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3917, allocations: 11.92 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.432e-05/0.3917, allocations: 15.98 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3922, allocations: 252.9 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.3925, allocations: 50.56 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.3926, allocations: 20.84 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.3926, allocations: 4 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.3927, allocations: 38.5 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.3927, allocations: 0 / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.3929, allocations: 53.69 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.393, allocations: 51.41 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3931, allocations: 97.8 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3931, allocations: 25.7 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.3932, allocations: 96.03 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3932, allocations: 11.81 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.3933, allocations: 17.72 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3934, allocations: 310.8 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.3935, allocations: 11.98 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.3935, allocations: 21.66 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.3936, allocations: 29.72 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3936, allocations: 7.938 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001303/0.3938, allocations: 57.62 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3938, allocations: 11.98 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3938, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3938, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.3939, allocations: 8 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3939, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.394, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.394, allocations: 4 kB / 1.17 GB, free: 2.633 MB / 0.92 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 0.000106/0.3941, allocations: 121.8 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.3941, allocations: 4 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3943, allocations: 65.02 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3943, allocations: 4.469 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3944, allocations: 0 / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3944, allocations: 3.938 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3946, allocations: 161.5 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3946, allocations: 128 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.3947, allocations: 12 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3947, allocations: 3.984 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.3947, allocations: 7.938 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3947, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3947, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3949, allocations: 155.4 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.395, allocations: 81.11 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.395, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.3951, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.3951, allocations: 0 / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3951, allocations: 8 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.3952, allocations: 83.27 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3952, allocations: 0 / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003998/0.3956, allocations: 20 kB / 1.171 GB, free: 1.812 MB / 0.92 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.0006249/0.3962, allocations: 0.7006 MB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.3964, allocations: 31.92 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3964, allocations: 4 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.467e-05/0.3964, allocations: 8 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3967, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.3974, allocations: 164.1 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.3978, allocations: 0.6768 MB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.222e-05/0.3978, allocations: 8.047 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.3979, allocations: 11.44 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.3979, allocations: 0 / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.4199, allocations: 1.401 MB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.403, allocations: 5.516 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches