Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008069/0.0008069, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001005/0.001005, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8813/0.8813, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.269e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001974/0.001997, allocations: 1.314 MB / 0.9518 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.00287, allocations: 0.5259 MB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.002904, allocations: 0 / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.002928, allocations: 4 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.002983, allocations: 3.938 kB / 0.9523 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.00348, allocations: 149.4 kB / 0.9524 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.002e-05/0.00354, allocations: 23.86 kB / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.003587, allocations: 0 / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.003624, allocations: 11.98 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.003678, allocations: 8 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.003692, allocations: 0 / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.004057, allocations: 279.3 kB / 0.9528 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.004075, allocations: 4 kB / 0.9528 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.004098, allocations: 11.92 kB / 0.9528 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.004338, allocations: 151.5 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00434, allocations: 0 / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.363e-06/0.004342, allocations: 0 / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.004349, allocations: 3.938 kB / 0.9529 GB, free: 1 MB / 0.9011 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.0004113/0.00476, allocations: 282 kB / 0.9532 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.004803, allocations: 12.03 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.004832, allocations: 34.73 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.004854, allocations: 8.938 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.004931, allocations: 109.7 kB / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.004941, allocations: 384 / 0.9533 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.00495, allocations: 4.375 kB / 0.9533 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/0.005048, allocations: 42.19 kB / 0.9534 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.005056, allocations: 192 / 0.9534 GB, free: 456 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.005064, allocations: 4.375 kB / 0.9534 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.00507, allocations: 4.125 kB / 0.9534 GB, free: 448 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.005111, allocations: 12 kB / 0.9534 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.005397, allocations: 220 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.005561, allocations: 54.62 kB / 0.9537 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.005587, allocations: 16.84 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.005605, allocations: 4 kB / 0.9537 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.005622, allocations: 34.5 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.005623, allocations: 0 / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001533/0.005777, allocations: 57.69 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.005805, allocations: 51.41 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.293e-05/0.005858, allocations: 98.03 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005869, allocations: 29.7 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.00591, allocations: 92.02 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.00592, allocations: 19.89 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.005945, allocations: 17.72 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.006022, allocations: 310.8 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.006039, allocations: 19.92 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.006063, allocations: 21.72 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.006097, allocations: 25.72 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006098, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.058e-05/0.006159, allocations: 61.56 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.006172, allocations: 8 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.006178, allocations: 8.016 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00619, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.22e-05/0.006222, allocations: 8 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006227, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.006244, allocations: 3.938 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.00625, allocations: 4 kB / 0.9545 GB, free: 15.15 MB / 0.9167 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.464e-05/0.006304, allocations: 113.8 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.006317, allocations: 7.938 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.006419, allocations: 65.31 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.006421, allocations: 7.938 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.006425, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006428, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.006529, allocations: 124.8 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.00653, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.006545, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006547, allocations: 3.938 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.006553, allocations: 0 / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006553, allocations: 0 / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006555, allocations: 4 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.006637, allocations: 147.5 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-06/0.006643, allocations: 7.938 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.146e-06/0.006651, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.465e-05/0.006676, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.00669, allocations: 7.984 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.006692, allocations: 128 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.006718, allocations: 83.28 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006718, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001588/0.006877, allocations: 19.88 kB / 0.9551 GB, free: 14.48 MB / 0.9167 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.0003272/0.007204, allocations: 0.7088 MB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.007281, allocations: 32.02 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007282, allocations: 0 / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.007297, allocations: 15.94 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.007444, allocations: 0.5625 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.007776, allocations: 150.4 kB / 0.956 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.007815, allocations: 59.36 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.007843, allocations: 16.03 kB / 0.956 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.007867, allocations: 8.5 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007868, allocations: 0 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.02431, allocations: 2.035 MB / 0.958 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.873, allocations: 6.75 kB / 0.9581 GB, free: 11.5 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.92868335545063]