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.001572/0.001572, allocations: 108 kB / 15.61 MB, free: 148 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.002311/0.002311, allocations: 193.5 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.359 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.332/2.332, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 75.86 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5757/0.577, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001892/0.579, allocations: 1.278 MB / 0.951 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.5797, allocations: 0.5933 MB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.5797, allocations: 0 / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.5798, allocations: 3.938 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.5798, allocations: 1.156 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.5802, allocations: 147.5 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.5803, allocations: 21.52 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.5803, allocations: 2.75 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.5804, allocations: 16.05 kB / 0.9517 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.5804, allocations: 8.109 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.5804, allocations: 1.375 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.5808, allocations: 337 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.5809, allocations: 5.266 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.5809, allocations: 11.69 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.5811, allocations: 151.6 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5811, allocations: 4 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5811, allocations: 0 / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.5811, allocations: 0 / 0.9522 GB, free: 7.188 MB / 0.7169 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.0002959/0.5814, allocations: 359.8 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5815, allocations: 9.125 kB / 0.9526 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.206e-05/0.5815, allocations: 35.78 kB / 0.9526 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.5815, allocations: 6.344 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.1e-05/0.5816, allocations: 165.8 kB / 0.9528 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.5816, allocations: 384 / 0.9528 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.5816, allocations: 6.844 kB / 0.9528 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.483e-05/0.5817, allocations: 45.53 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5817, allocations: 3.938 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.5817, allocations: 3.938 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5817, allocations: 1.344 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.5818, allocations: 16.02 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.582, allocations: 250 kB / 0.9531 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.5822, allocations: 53.34 kB / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.5822, allocations: 16.61 kB / 0.9532 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5823, allocations: 5.641 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.5823, allocations: 35.55 kB / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5823, allocations: 0 / 0.9532 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001477/0.5824, allocations: 62.97 kB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.5825, allocations: 52.59 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.779e-05/0.5825, allocations: 98.05 kB / 0.9534 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.5825, allocations: 25.7 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.079e-05/0.5825, allocations: 85.27 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.5826, allocations: 14.33 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.5826, allocations: 16.91 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.5826, allocations: 311.9 kB / 0.9538 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.5826, allocations: 8.25 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.5827, allocations: 23.61 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.5827, allocations: 33.22 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5827, allocations: 9.344 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.686e-05/0.5828, allocations: 58.8 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.5828, allocations: 7.312 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.5828, allocations: 1.344 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.5828, allocations: 0 / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.5829, allocations: 15.8 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5829, allocations: 4.031 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.5829, allocations: 9.188 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.5829, allocations: 2.219 kB / 0.954 GB, free: 5.305 MB / 0.7169 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 4.044e-05/0.583, allocations: 112.1 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.583, allocations: 5.125 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.5831, allocations: 64.12 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5831, allocations: 1.375 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5832, allocations: 4 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5832, allocations: 0 / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.5833, allocations: 163.1 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5833, allocations: 7.875 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.5833, allocations: 6.531 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5833, allocations: 0 / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.5833, allocations: 1.438 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5833, allocations: 0 / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5833, allocations: 0 / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.798e-05/0.5834, allocations: 151.5 kB / 0.9545 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.5834, allocations: 82.17 kB / 0.9546 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.5835, allocations: 5.047 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.5835, allocations: 0 / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.5835, allocations: 2.625 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.5835, allocations: 0.75 kB / 0.9546 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.711e-05/0.5836, allocations: 81.56 kB / 0.9547 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.51e-07/0.5836, allocations: 0 / 0.9547 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002378/0.5838, allocations: 22 kB / 0.9547 GB, free: 4.574 MB / 0.7169 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.0002645/0.5841, allocations: 0.7041 MB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.337e-05/0.5842, allocations: 31.52 kB / 0.9554 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5842, allocations: 0 / 0.9554 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.5842, allocations: 8.594 kB / 0.9554 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.5844, allocations: 3.188 kB / 0.9554 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.5848, allocations: 167.5 kB / 0.9556 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.5849, allocations: 0.6772 MB / 0.9562 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.5849, allocations: 6.891 kB / 0.9562 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.5849, allocations: 16.69 kB / 0.9563 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5849, allocations: 4 kB / 0.9563 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.6022, allocations: 1.366 MB / 0.9576 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/8.037, allocations: 5.5 kB / 0.9576 GB, free: 2.234 MB / 0.7169 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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