Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 104.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.056 GB, free: 2.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 160.7 MB / 1.213 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002619/0.3521, allocations: 1.265 MB / 1.214 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3532, allocations: 0.5916 MB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.3533, allocations: 0 / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.3533, allocations: 7.922 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.3533, allocations: 0 / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.3539, allocations: 143.4 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.354, allocations: 11.88 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.354, allocations: 4 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.354, allocations: 0 / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.3541, allocations: 8 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3541, allocations: 0 / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.3546, allocations: 343.3 kB / 1.215 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.3546, allocations: 3.984 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.3547, allocations: 11.94 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.355, allocations: 135.9 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.355, allocations: 0 / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.355, allocations: 3.938 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.355, allocations: 0 / 1.215 GB, free: 14.93 MB / 0.9669 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.0004886/0.3555, allocations: 355.1 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001252/0.3556, allocations: 15.97 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.3556, allocations: 34.75 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.3556, allocations: 0.9375 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3558, allocations: 160.4 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.3558, allocations: 384 / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3558, allocations: 4.375 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3559, allocations: 34.25 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3559, allocations: 3.938 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3559, allocations: 0 / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3559, allocations: 8 kB / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.356, allocations: 0 / 1.216 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3562, allocations: 153.7 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.868e-05/0.3562, allocations: 22.55 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.3563, allocations: 13.66 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.3563, allocations: 0 / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3563, allocations: 34.56 kB / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3563, allocations: 0 / 1.216 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001732/0.3565, allocations: 49.56 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3565, allocations: 55.41 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3567, allocations: 89.86 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3567, allocations: 29.7 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.3567, allocations: 80.14 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.3567, allocations: 7.938 kB / 1.216 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3568, allocations: 25.95 kB / 1.216 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.357, allocations: 310.8 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.357, allocations: 0 / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.054e-05/0.357, allocations: 4 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.357, allocations: 16.8 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.357, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.056e-05/0.3571, allocations: 45.58 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3571, allocations: 12.03 kB / 1.217 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3571, allocations: 4 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3571, allocations: 0 / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3573, allocations: 8 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004795/0.3578, allocations: 0.586 MB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.3578, allocations: 0 / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3578, allocations: 3.938 kB / 1.217 GB, free: 12.53 MB / 0.9669 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 9.063e-05/0.3579, allocations: 117.9 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.3579, allocations: 3.984 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.358, allocations: 48.75 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.358, allocations: 0 / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.358, allocations: 0 / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.358, allocations: 0 / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3582, allocations: 161.5 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3582, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.3583, allocations: 8 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3583, allocations: 4.031 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3583, allocations: 4 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003799/0.3586, allocations: 0.5898 MB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3586, allocations: 3.938 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.031e-05/0.3587, allocations: 65.27 kB / 1.218 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3588, allocations: 77.11 kB / 1.218 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3588, allocations: 3.984 kB / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.3588, allocations: 0 / 1.219 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3588, allocations: 7.938 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3588, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.936e-05/0.3589, allocations: 75.28 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001995/0.3591, allocations: 12 kB / 1.219 GB, free: 11.23 MB / 0.9669 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.0005066/0.3596, allocations: 0.6164 MB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3598, allocations: 15.98 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3598, allocations: 3.938 kB / 1.219 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.3598, allocations: 16.09 kB / 1.219 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.36, allocations: 7.938 kB / 1.219 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.3605, allocations: 139.5 kB / 1.219 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3609, allocations: 0.6729 MB / 1.22 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.3609, allocations: 3.906 kB / 1.22 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.3609, allocations: 7.438 kB / 1.22 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3609, allocations: 4.062 kB / 1.22 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.3869, allocations: 1.388 MB / 1.221 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.42, allocations: 13.98 kB / 1.221 GB, free: 8.449 MB / 0.9669 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.565629087854177]