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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009113/0.0009113, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005651/0.005651, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 12.72 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.257, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001264/0.2583, allocations: 1.018 MB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.2593, allocations: 0.6073 MB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.2594, allocations: 0 / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.2594, allocations: 4 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.2594, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.2599, allocations: 130.4 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.26, allocations: 11.94 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.26, allocations: 7.984 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.26, allocations: 15.92 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.2601, allocations: 4 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.2601, allocations: 3.938 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.2606, allocations: 347.3 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2606, allocations: 7.984 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2607, allocations: 37.64 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.2609, allocations: 136 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2609, allocations: 0 / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2609, allocations: 0 / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.2609, allocations: 0 / 1.061 GB, free: 2.551 MB / 0.8106 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.0003661/0.2613, allocations: 355.4 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2613, allocations: 15.97 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.2614, allocations: 42.75 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.995e-05/0.2614, allocations: 0.9375 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.2615, allocations: 164.4 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.2615, allocations: 384 / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.2615, allocations: 384 / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.2616, allocations: 42.25 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2616, allocations: 3.938 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.2617, allocations: 0 / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.2617, allocations: 23.92 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.262, allocations: 260.9 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.2622, allocations: 46.56 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.2622, allocations: 24.78 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2623, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2623, allocations: 42.48 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2623, allocations: 4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001537/0.2625, allocations: 53.69 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.2625, allocations: 51.41 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.2626, allocations: 97.86 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2626, allocations: 25.7 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.2626, allocations: 84.12 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.2627, allocations: 19.75 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.2627, allocations: 9.719 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.2628, allocations: 314.8 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.2628, allocations: 11.98 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.2628, allocations: 21.72 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.2629, allocations: 29.66 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2629, allocations: 3.938 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001044/0.263, allocations: 61.53 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.263, allocations: 5.562 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.263, allocations: 11.97 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.263, allocations: 0 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.2631, allocations: 11.98 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.2631, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.2631, allocations: 0 / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.2631, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 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 6.242e-05/0.2632, allocations: 113.8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.2632, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.2634, allocations: 73.09 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2634, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2634, allocations: 4 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2634, allocations: 0 / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2635, allocations: 157.6 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.2636, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.2636, allocations: 8 kB / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2636, allocations: 0 / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.2636, allocations: 128 / 1.063 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2636, allocations: 4 kB / 1.063 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2636, allocations: 4 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.2638, allocations: 155.3 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.2638, allocations: 85.55 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2638, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.2639, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.2639, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2639, allocations: 3.938 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.2639, allocations: 83.27 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2639, allocations: 4 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002436/0.2642, allocations: 19.98 kB / 1.063 GB, free: 15.69 MB / 0.8262 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.0004068/0.2646, allocations: 0.6968 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.2647, allocations: 27.92 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2647, allocations: 4.062 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.2647, allocations: 8 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.2649, allocations: 4 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.2653, allocations: 182.1 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2656, allocations: 0.6808 MB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.2656, allocations: 4 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.2656, allocations: 15.44 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2656, allocations: 0 / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.2876, allocations: 1.195 MB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.2879, allocations: 233 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/1.878, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 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