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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.139/2.139, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 55.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5003, allocations: 140.4 MB / 0.949 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00204/0.5024, allocations: 1.344 MB / 0.9504 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007601/0.5032, allocations: 0.6052 MB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.507e-05/0.5032, allocations: 0 / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.5032, allocations: 1.312 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.5033, allocations: 3.938 kB / 0.951 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.5037, allocations: 130.8 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.74e-05/0.5037, allocations: 22.05 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.5038, allocations: 1 kB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.5038, allocations: 8.719 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.5038, allocations: 12.33 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.5038, allocations: 5.125 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.5042, allocations: 339.8 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.5043, allocations: 5.25 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.5043, allocations: 7.625 kB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.5045, allocations: 151.1 kB / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5045, allocations: 0 / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5045, allocations: 0 / 0.9516 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.5045, allocations: 1.219 kB / 0.9516 GB, free: 7.195 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.0002988/0.5048, allocations: 360.2 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5049, allocations: 8.719 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.5049, allocations: 36.16 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.189e-05/0.5049, allocations: 2.5 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.16e-05/0.505, allocations: 173.8 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-06/0.505, allocations: 4.375 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.505, allocations: 2.875 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.836e-05/0.5051, allocations: 40.47 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.5051, allocations: 9.625 kB / 0.9522 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.5051, allocations: 4 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.5051, allocations: 0 / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.5052, allocations: 9.156 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.5054, allocations: 258 kB / 0.9525 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.5056, allocations: 53.38 kB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.5056, allocations: 23.92 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5056, allocations: 6.219 kB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.698e-06/0.5056, allocations: 30.56 kB / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5056, allocations: 0 / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001381/0.5058, allocations: 59.41 kB / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.649e-05/0.5058, allocations: 60.66 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.872e-05/0.5059, allocations: 97.59 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.5059, allocations: 27.02 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.5059, allocations: 80.14 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.498e-06/0.5059, allocations: 14.34 kB / 0.9529 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.5059, allocations: 21.67 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.506, allocations: 312 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.506, allocations: 4.531 kB / 0.9532 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.506, allocations: 23.06 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.5061, allocations: 36.86 kB / 0.9533 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5061, allocations: 3.938 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.683e-05/0.5062, allocations: 52.53 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5062, allocations: 4.406 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5062, allocations: 1.219 kB / 0.9533 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5062, allocations: 0.9688 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.5063, allocations: 22.66 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.5063, allocations: 1.062 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.5063, allocations: 12.72 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.5063, allocations: 2 kB / 0.9534 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.039e-05/0.5064, allocations: 116.2 kB / 0.9535 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.5064, allocations: 1.188 kB / 0.9535 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.5065, allocations: 63.92 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.5065, allocations: 1.062 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5065, allocations: 4 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.5065, allocations: 1.312 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.5066, allocations: 158.9 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5066, allocations: 0 / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.5067, allocations: 14.17 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5067, allocations: 0 / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.5067, allocations: 1.281 kB / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5067, allocations: 0 / 0.9537 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5067, allocations: 3.938 kB / 0.9537 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.615e-05/0.5068, allocations: 151.9 kB / 0.9539 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.5068, allocations: 82.39 kB / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5068, allocations: 1.562 kB / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.5069, allocations: 0 / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.5069, allocations: 9.266 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.5069, allocations: 1.156 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.483e-05/0.5069, allocations: 78.19 kB / 0.954 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5069, allocations: 0 / 0.954 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002389/0.5072, allocations: 21.97 kB / 0.9541 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.000264/0.5074, allocations: 0.7146 MB / 0.9548 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.737e-05/0.5075, allocations: 18 kB / 0.9548 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5075, allocations: 3.938 kB / 0.9548 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.5076, allocations: 16.48 kB / 0.9548 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.5078, allocations: 5.406 kB / 0.9548 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.5081, allocations: 166.3 kB / 0.955 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.745e-05/0.5082, allocations: 0.6787 MB / 0.9556 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.5082, allocations: 2.594 kB / 0.9556 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.5082, allocations: 12.69 kB / 0.9556 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5083, allocations: 1.281 kB / 0.9556 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6274/1.136, allocations: 1.253 MB / 0.9569 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.136, allocations: 224.7 kB / 0.9571 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.992, allocations: 3.938 kB / 0.9571 GB, free: 2.102 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 & /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