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.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.0006388/0.0006388, 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.0007552/0.0007552, allocations: 169.9 kB / 22.46 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.8284/0.8284, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.732/1.732, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.011e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001691/0.001711, allocations: 1.302 MB / 1.001 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006461/0.002357, allocations: 0.5261 MB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.002383, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.002403, allocations: 7.875 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.002441, allocations: 0 / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.002879, allocations: 143.3 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.00294, allocations: 27.84 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.002991, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.003026, allocations: 11.98 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.003079, allocations: 11.98 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.003095, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.003379, allocations: 271.4 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.003394, allocations: 3.984 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.003416, allocations: 11.92 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.003617, allocations: 155.5 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.00362, allocations: 0 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003621, allocations: 0 / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.003627, allocations: 0 / 1.002 GB, free: 11.01 MB / 0.9636 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.0003541/0.003981, allocations: 284 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.004022, allocations: 16.73 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.004051, allocations: 34.75 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.004075, allocations: 4.891 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.004143, allocations: 101.8 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004154, allocations: 8.375 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.004161, allocations: 384 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.004263, allocations: 46.19 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.00427, allocations: 192 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.004278, allocations: 384 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004283, allocations: 4.125 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.169e-05/0.004325, allocations: 19.98 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.004616, allocations: 216.1 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.004793, allocations: 46.55 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.004817, allocations: 16.91 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.004839, allocations: 7.938 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.004857, allocations: 38.5 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.004858, allocations: 0 / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001461/0.005004, allocations: 53.69 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.005036, allocations: 55.41 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.485e-05/0.005091, allocations: 101.8 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.005102, allocations: 29.7 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.005141, allocations: 84.08 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.00515, allocations: 11.91 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.005178, allocations: 17.72 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.00525, allocations: 318.8 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.005266, allocations: 7.938 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.005291, allocations: 29.66 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.005333, allocations: 29.7 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.005336, allocations: 4 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.284e-05/0.005399, allocations: 61.56 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.005414, allocations: 7.938 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.00542, allocations: 4 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.005433, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.005481, allocations: 12 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.005486, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.005502, allocations: 3.953 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005508, allocations: 4 kB / 1.004 GB, free: 9.16 MB / 0.9636 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 5.316e-05/0.005561, allocations: 105.8 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.005574, allocations: 3.938 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.005689, allocations: 77.31 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005691, allocations: 0 / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.005696, allocations: 4 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005698, allocations: 0 / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.005799, allocations: 124.8 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.0058, allocations: 0 / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.005821, allocations: 8 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.005824, allocations: 4.406 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005829, allocations: 0 / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005831, allocations: 0 / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005832, allocations: 4 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.405e-05/0.005916, allocations: 151.5 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.005927, allocations: 19.81 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.005936, allocations: 0 / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.005961, allocations: 0 / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.005974, allocations: 4 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.005976, allocations: 0 / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.006, allocations: 75.28 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006, allocations: 4 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001738/0.006173, allocations: 23.92 kB / 1.004 GB, free: 8.48 MB / 0.9636 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.0003559/0.006529, allocations: 0.7007 MB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.362e-05/0.006613, allocations: 23.92 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.006615, allocations: 0 / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.006624, allocations: 8 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.00678, allocations: 11.94 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.007139, allocations: 154.3 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.007181, allocations: 59.34 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.00721, allocations: 12 kB / 1.005 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.00724, allocations: 16.5 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.007241, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.02172, allocations: 2.033 MB / 1.007 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.347/6.369, allocations: 6.875 kB / 1.007 GB, free: 5.523 MB / 0.9636 GB " [Timeout remaining time 294] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: 10.295274203643203]