Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001224/0.001224, 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.001177/0.001177, allocations: 196.8 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.174/2.174, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.88 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5605/0.562, allocations: 140.3 MB / 0.949 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001957/0.564, allocations: 1.315 MB / 0.9503 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008306/0.5649, allocations: 0.6051 MB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.371e-05/0.5649, allocations: 0 / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.5649, allocations: 0 / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.5649, allocations: 1.156 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.5653, allocations: 125.6 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.797e-05/0.5654, allocations: 13.16 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.5654, allocations: 5.125 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.5654, allocations: 2.375 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.5655, allocations: 5.688 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.5655, allocations: 1.656 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.5659, allocations: 348 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.5659, allocations: 0 / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.5659, allocations: 2.625 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.5662, allocations: 144.9 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5662, allocations: 0 / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5662, allocations: 0 / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.5662, allocations: 0 / 0.9515 GB, free: 7.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002738/0.5665, allocations: 352.5 kB / 0.9519 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5665, allocations: 8.906 kB / 0.9519 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.201e-05/0.5665, allocations: 31.88 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.5666, allocations: 2.094 kB / 0.9519 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.956e-05/0.5666, allocations: 164.4 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.5666, allocations: 1.562 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-06/0.5667, allocations: 1.438 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.5667, allocations: 29.55 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.5667, allocations: 7.938 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.5668, allocations: 8 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5668, allocations: 1.094 kB / 0.9521 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.5668, allocations: 7.281 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.722e-05/0.5669, allocations: 147.6 kB / 0.9523 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.105e-05/0.5669, allocations: 28.14 kB / 0.9523 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.567, allocations: 7.984 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.567, allocations: 7.938 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.567, allocations: 31.84 kB / 0.9523 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.567, allocations: 0 / 0.9523 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001146/0.5671, allocations: 51.91 kB / 0.9524 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.5672, allocations: 51.41 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.993e-05/0.5672, allocations: 96.14 kB / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.5672, allocations: 27.58 kB / 0.9526 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.5672, allocations: 84.39 kB / 0.9526 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.5673, allocations: 15.77 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.5673, allocations: 13.25 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.5673, allocations: 314.8 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.5674, allocations: 2.469 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.5674, allocations: 2.531 kB / 0.953 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.5674, allocations: 9.922 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5674, allocations: 4.062 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.211e-05/0.5675, allocations: 46.44 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5675, allocations: 8.438 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.5675, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5675, allocations: 1.312 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5676, allocations: 10.92 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002146/0.5679, allocations: 0.5832 MB / 0.9536 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.5679, allocations: 4.125 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.5679, allocations: 0.875 kB / 0.9536 GB, free: 5.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.5679, allocations: 119.1 kB / 0.9537 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.568, allocations: 1.531 kB / 0.9537 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.568, allocations: 44.59 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5681, allocations: 1.438 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5681, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.5681, allocations: 32 / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.393e-05/0.5681, allocations: 160.8 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5681, allocations: 0 / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.5682, allocations: 8.469 kB / 0.9539 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.5682, allocations: 3.984 kB / 0.954 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.5682, allocations: 5.641 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001551/0.5684, allocations: 0.5818 MB / 0.9545 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5684, allocations: 3.938 kB / 0.9545 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.017e-05/0.5685, allocations: 70.95 kB / 0.9546 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.5685, allocations: 81.75 kB / 0.9547 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.5685, allocations: 1.25 kB / 0.9547 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.5685, allocations: 4 kB / 0.9547 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.5685, allocations: 4.938 kB / 0.9547 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.5685, allocations: 1 kB / 0.9547 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.644e-05/0.5686, allocations: 81.41 kB / 0.9548 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5686, allocations: 0 / 0.9548 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002028/0.5688, allocations: 11.28 kB / 0.9548 GB, free: 3.793 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.569, allocations: 0.6144 MB / 0.9554 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.5692, allocations: 24.3 kB / 0.9554 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5692, allocations: 1.25 kB / 0.9554 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.5693, allocations: 21.36 kB / 0.9554 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.5694, allocations: 5.219 kB / 0.9554 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.5698, allocations: 144.4 kB / 0.9556 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.742e-05/0.5699, allocations: 0.6759 MB / 0.9562 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.5699, allocations: 1.438 kB / 0.9562 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.5699, allocations: 7.438 kB / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of SimCode: time 3.61e-07/0.5699, allocations: 0 / 0.9562 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.492/2.062, allocations: 1.209 MB / 0.9574 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/2.062, allocations: 264.2 kB / 0.9577 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/4.11, allocations: 0 / 0.9577 GB, free: 1.359 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches