Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.856/0.856, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.699/1.699, allocations: 377.9 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.386e-06/9.508e-06, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001451/0.00146, allocations: 1.283 MB / 0.9822 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.002012, allocations: 0.5176 MB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.00203, allocations: 0 / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.002045, allocations: 3.938 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.002072, allocations: 0 / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.002395, allocations: 149.4 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.806e-05/0.002433, allocations: 7.938 kB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.002464, allocations: 0 / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/0.002488, allocations: 7.984 kB / 0.9829 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.00252, allocations: 8 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.00253, allocations: 4 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.002776, allocations: 271.3 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.002786, allocations: 0 / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.002801, allocations: 8 kB / 0.9832 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.002958, allocations: 143.6 kB / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002959, allocations: 0 / 0.9833 GB, free: 180 kB / 0.9323 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00296, allocations: 3.938 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.002963, allocations: 0 / 0.9833 GB, free: 176 kB / 0.9323 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.0002424/0.003205, allocations: 270.1 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.003237, allocations: 12.03 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.003267, allocations: 38.75 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.463e-05/0.003281, allocations: 4.875 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.183e-05/0.003343, allocations: 109.7 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003352, allocations: 384 / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.00336, allocations: 4.375 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.003431, allocations: 34.25 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003437, allocations: 192 / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.003444, allocations: 384 / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003449, allocations: 8.062 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.003469, allocations: 4 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.003574, allocations: 128.7 kB / 0.9839 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.003614, allocations: 22.61 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.003628, allocations: 12.91 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.003646, allocations: 0 / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.003662, allocations: 30.56 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 4.41e-07/0.003663, allocations: 0 / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001046/0.003768, allocations: 49.59 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.003792, allocations: 55.34 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.513e-05/0.003837, allocations: 102 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.003846, allocations: 25.7 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.003865, allocations: 80.14 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.003885, allocations: 7.953 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.003906, allocations: 13.72 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.003971, allocations: 310.8 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.00398, allocations: 4 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.003988, allocations: 7.984 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.004008, allocations: 12.86 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.004009, allocations: 0 / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.329e-05/0.004043, allocations: 45.83 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.004052, allocations: 4 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.004056, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.004064, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.004173, allocations: 15.92 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002353/0.004408, allocations: 0.5822 MB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.004417, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.00442, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 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 5.045e-05/0.004471, allocations: 110 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-06/0.004476, allocations: 11.88 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.004548, allocations: 52.92 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00455, allocations: 0 / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.004553, allocations: 0 / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.004556, allocations: 0 / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.149e-05/0.004617, allocations: 124.8 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.004619, allocations: 3.938 kB / 0.9855 GB, free: 13.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.00466, allocations: 8 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.004662, allocations: 3.984 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.004667, allocations: 4.031 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001807/0.004848, allocations: 0.586 MB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.004849, allocations: 3.938 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.085e-05/0.00489, allocations: 61.08 kB / 0.9862 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.004897, allocations: 11.92 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.004907, allocations: 4 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-06/0.004913, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.004924, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.004925, allocations: 0 / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.004952, allocations: 83.41 kB / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004952, allocations: 0 / 0.9863 GB, free: 12.83 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001237/0.005075, allocations: 19.88 kB / 0.9863 GB, free: 12.81 MB / 0.948 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.000243/0.005318, allocations: 0.609 MB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.005418, allocations: 15.98 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.00542, allocations: 0 / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.00545, allocations: 15.98 kB / 0.9869 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.351e-05/0.005544, allocations: 12.19 kB / 0.9869 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.005842, allocations: 130.4 kB / 0.987 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.00587, allocations: 63.3 kB / 0.9871 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.069e-05/0.005881, allocations: 0 / 0.9871 GB, free: 11.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.005905, allocations: 16.48 kB / 0.9871 GB, free: 11.86 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.005905, allocations: 0 / 0.9871 GB, free: 11.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.01913, allocations: 1.929 MB / 0.989 GB, free: 10.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/7.188, allocations: 12.67 kB / 0.989 GB, free: 10.08 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.122474134899676]