Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_latest_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.006059/0.006059, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001362/0.001363, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 68.11 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9752/0.9767, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003302/0.9801, allocations: 1.291 MB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.9813, allocations: 0.5916 MB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.9814, allocations: 0 / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.9814, allocations: 3.938 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.9816, allocations: 4 kB / 1.209 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.9823, allocations: 146.5 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.9824, allocations: 23.86 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.9825, allocations: 4 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.9825, allocations: 7.938 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.9826, allocations: 15.98 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.9826, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005524/0.9831, allocations: 347.3 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.9832, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.9832, allocations: 7.938 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.9835, allocations: 149.9 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9835, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9835, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.9836, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 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.0004855/0.984, allocations: 359.5 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9841, allocations: 12.03 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.9841, allocations: 34.75 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.9842, allocations: 8.828 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.9843, allocations: 164.3 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.9843, allocations: 4.375 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.9844, allocations: 4.312 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.9845, allocations: 46.19 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9845, allocations: 3.938 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.9846, allocations: 4 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.9846, allocations: 4 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.9846, allocations: 11.94 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.985, allocations: 261 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.9853, allocations: 42.56 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.9853, allocations: 16.86 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.9854, allocations: 12 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.9854, allocations: 30.56 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.9854, allocations: 0 / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.9856, allocations: 53.62 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.9857, allocations: 59.41 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.9858, allocations: 97.84 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.9858, allocations: 25.7 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.9858, allocations: 84.05 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.9859, allocations: 15.81 kB / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.9859, allocations: 21.7 kB / 1.211 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.986, allocations: 314.8 kB / 1.211 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.9861, allocations: 4 kB / 1.211 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.9861, allocations: 21.7 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.9862, allocations: 33.66 kB / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9862, allocations: 7.938 kB / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001041/0.9863, allocations: 53.69 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.9863, allocations: 5.875 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9863, allocations: 3.938 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9864, allocations: 0 / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.378e-05/0.9864, allocations: 12 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.9864, allocations: 0 / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.9865, allocations: 11.92 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.9865, allocations: 128 / 1.212 GB, free: 8.922 MB / 0.9356 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 8.493e-05/0.9866, allocations: 117.8 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.9866, allocations: 0 / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.9868, allocations: 77.02 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9868, allocations: 0 / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9868, allocations: 0 / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9868, allocations: 3.938 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.987, allocations: 162.1 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.987, allocations: 4 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.987, allocations: 7.984 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9871, allocations: 0 / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.9871, allocations: 7.938 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9871, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9871, allocations: 4 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.9872, allocations: 151.5 kB / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.9873, allocations: 77.11 kB / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.9873, allocations: 0 / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.9873, allocations: 0 / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.9874, allocations: 11.92 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.9874, allocations: 4 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.9874, allocations: 75.28 kB / 1.212 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9874, allocations: 4 kB / 1.212 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002842/0.9877, allocations: 20 kB / 1.212 GB, free: 8.105 MB / 0.9356 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.0005067/0.9882, allocations: 0.7006 MB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.9884, allocations: 27.94 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9884, allocations: 0 / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-05/0.9884, allocations: 15.98 kB / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.9887, allocations: 0 / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.9892, allocations: 160.2 kB / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.9894, allocations: 0.6806 MB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.9895, allocations: 8.062 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.9895, allocations: 11.42 kB / 1.214 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/0.9895, allocations: 0 / 1.214 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/1.01, allocations: 1.396 MB / 1.215 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.906, allocations: 7.922 kB / 1.215 GB, free: 5.145 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches