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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00439/0.00439, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001283/0.001283, allocations: 198.7 kB / 16.68 MB, free: 5.977 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 63.91 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2631, allocations: 162.3 MB / 1.242 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002144/0.2652, allocations: 1.282 MB / 1.243 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.2662, allocations: 0.5955 MB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.2662, allocations: 0 / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.2662, allocations: 3.938 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.2663, allocations: 7.938 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.2667, allocations: 143.4 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.288e-05/0.2668, allocations: 27.81 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.2668, allocations: 3.984 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.2669, allocations: 7.984 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.2669, allocations: 7.938 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2669, allocations: 4 kB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.2674, allocations: 343.3 kB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.2675, allocations: 8 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.2675, allocations: 11.92 kB / 1.244 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.2677, allocations: 143.6 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2677, allocations: 0 / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2678, allocations: 0 / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2678, allocations: 3.938 kB / 1.244 GB, free: 7.211 MB / 0.9981 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.0003926/0.2682, allocations: 365.1 kB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2682, allocations: 8.031 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.2682, allocations: 30.75 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.876e-05/0.2683, allocations: 8.938 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2684, allocations: 164.4 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2684, allocations: 384 / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.2684, allocations: 4.375 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.2685, allocations: 42.25 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2685, allocations: 3.938 kB / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.2685, allocations: 0 / 1.245 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2685, allocations: 4 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.2686, allocations: 19.92 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.2689, allocations: 260.8 kB / 1.245 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2691, allocations: 50.62 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.2691, allocations: 16.86 kB / 1.245 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2691, allocations: 3.984 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2692, allocations: 34.56 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2692, allocations: 4 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001449/0.2693, allocations: 57.62 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.2694, allocations: 55.34 kB / 1.245 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.2694, allocations: 97.86 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.2694, allocations: 25.7 kB / 1.246 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.2695, allocations: 88.12 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.2695, allocations: 11.91 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.2695, allocations: 13.72 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2697, allocations: 318.8 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.2697, allocations: 7.984 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.2697, allocations: 21.72 kB / 1.246 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.2698, allocations: 29.66 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2698, allocations: 7.875 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.804e-05/0.2699, allocations: 62 kB / 1.246 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2699, allocations: 8.031 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2699, allocations: 7.984 kB / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.2699, allocations: 0 / 1.246 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.27, allocations: 8 kB / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.27, allocations: 0 / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.27, allocations: 0 / 1.246 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.27, allocations: 4 kB / 1.246 GB, free: 5.16 MB / 0.9981 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.938e-05/0.2701, allocations: 114.3 kB / 1.246 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2701, allocations: 7.984 kB / 1.246 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.2703, allocations: 69.05 kB / 1.246 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2703, allocations: 4 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.2703, allocations: 0 / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2703, allocations: 0 / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.2704, allocations: 157.6 kB / 1.246 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2704, allocations: 0 / 1.246 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.2705, allocations: 8 kB / 1.246 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2705, allocations: 0 / 1.246 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.2705, allocations: 0 / 1.246 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2705, allocations: 0 / 1.246 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2705, allocations: 4 kB / 1.246 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.2706, allocations: 155.4 kB / 1.247 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.2707, allocations: 81.17 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2707, allocations: 12 kB / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.2708, allocations: 0 / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.2708, allocations: 0 / 1.247 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.2708, allocations: 4 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.2708, allocations: 75.28 kB / 1.247 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2708, allocations: 4 kB / 1.247 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002296/0.2711, allocations: 23.92 kB / 1.247 GB, free: 4.352 MB / 0.9981 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.0004508/0.2715, allocations: 0.7045 MB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.2716, allocations: 23.92 kB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.2716, allocations: 4.062 kB / 1.248 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.2716, allocations: 11.94 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.2718, allocations: 8 kB / 1.248 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.2722, allocations: 164 kB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2725, allocations: 0.6807 MB / 1.248 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.2725, allocations: 8 kB / 1.248 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.2725, allocations: 7.438 kB / 1.248 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/0.2725, allocations: 0 / 1.248 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.736/1.009, allocations: 1.404 MB / 1.25 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.18, allocations: 11.36 kB / 1.25 GB, free: 1.371 MB / 0.9981 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=400 --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