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.005069/0.005069, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001654/0.001654, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.239/2.239, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 72.11 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6186, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002146/0.6208, allocations: 1.306 MB / 1.167 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.6217, allocations: 0.594 MB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.6218, allocations: 4 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.6218, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.6218, allocations: 7.922 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.6223, allocations: 140.5 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.501e-05/0.6224, allocations: 15.94 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.6224, allocations: 7.984 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.6224, allocations: 7.938 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.6225, allocations: 12 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.6225, allocations: 0 / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.623, allocations: 347.3 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.623, allocations: 3.984 kB / 1.169 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.623, allocations: 7.938 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.6233, allocations: 151.2 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.6233, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6233, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.6233, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 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.0004013/0.6237, allocations: 363.1 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.6238, allocations: 20.86 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.6238, allocations: 34.75 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.765e-05/0.6238, allocations: 0.9375 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.624, allocations: 172.3 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.624, allocations: 384 / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.624, allocations: 384 / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.097e-05/0.6241, allocations: 46.14 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.6241, allocations: 7.922 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-06/0.6241, allocations: 3.984 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6241, allocations: 4 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.6242, allocations: 16 kB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.6245, allocations: 253 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.6247, allocations: 50.5 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.6247, allocations: 20.84 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.6247, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6247, allocations: 38.56 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.6248, allocations: 0 / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001602/0.6249, allocations: 53.69 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.625, allocations: 51.41 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.625, allocations: 101.8 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.6251, allocations: 25.7 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.6251, allocations: 84.09 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.6251, allocations: 15.89 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.6252, allocations: 21.72 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6253, allocations: 314.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.6253, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.877e-05/0.6254, allocations: 17.72 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.084e-05/0.6254, allocations: 33.7 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.6254, allocations: 3.938 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.701e-05/0.6255, allocations: 65.58 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.6255, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.6256, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.6256, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.6256, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6256, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.42e-05/0.6257, allocations: 4 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.6257, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 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 7.524e-05/0.6257, allocations: 121.7 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.6258, allocations: 8.016 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.6259, allocations: 57.61 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6259, allocations: 128 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6259, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6259, allocations: 11.91 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.6261, allocations: 165.6 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.6261, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.6262, allocations: 8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.6262, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.6262, allocations: 11.98 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6262, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6262, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.6263, allocations: 151.4 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.6264, allocations: 77.11 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.6264, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.055e-05/0.6264, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.6264, allocations: 4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.6265, allocations: 4 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.6265, allocations: 83.27 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6265, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002263/0.6267, allocations: 19.94 kB / 1.171 GB, free: 14.36 MB / 0.9044 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.0004784/0.6272, allocations: 0.7083 MB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.464e-05/0.6273, allocations: 27.98 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.6273, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.6274, allocations: 15.94 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.6275, allocations: 6.328 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.6279, allocations: 156.1 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6282, allocations: 0.6768 MB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.6283, allocations: 4.312 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.6283, allocations: 11.44 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6283, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5582/1.186, allocations: 1.401 MB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.514/10.7, allocations: 9.578 kB / 1.174 GB, free: 11.39 MB / 0.9044 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=400 --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