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.001496/0.001496, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001701/0.001701, allocations: 215.2 kB / 22.25 MB, free: 5.117 MB / 14.72 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 1.347/1.347, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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 2.998/2.998, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.22 kB / 1.177 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3097, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002322/0.312, allocations: 1.308 MB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3131, allocations: 0.5955 MB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.3131, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.3131, allocations: 3.938 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.631e-05/0.3131, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3136, allocations: 146.4 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.798e-05/0.3137, allocations: 23.92 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.3137, allocations: 3.938 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.3137, allocations: 15.86 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.3138, allocations: 8 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3138, allocations: 4 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.3143, allocations: 339.4 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.3143, allocations: 7.938 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.3143, allocations: 8 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3146, allocations: 151.8 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3146, allocations: 0 / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3146, allocations: 0 / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3146, allocations: 0 / 1.355 GB, free: 5.875 MB / 1.045 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.000404/0.315, allocations: 293.9 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.315, allocations: 12.03 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.315, allocations: 30.75 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.3151, allocations: 0.9375 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.3152, allocations: 126.4 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3152, allocations: 384 / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.3152, allocations: 4.375 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.3153, allocations: 34.27 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3153, allocations: 11.92 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3153, allocations: 4 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3153, allocations: 0 / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.3153, allocations: 12 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.3157, allocations: 228 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3159, allocations: 50.56 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.3159, allocations: 16.84 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3159, allocations: 7.984 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.3159, allocations: 30.56 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3159, allocations: 0 / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.3161, allocations: 61.62 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.3161, allocations: 55.41 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.3162, allocations: 93.84 kB / 1.356 GB, free: 4.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3162, allocations: 33.7 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3163, allocations: 80.14 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.3163, allocations: 7.906 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3163, allocations: 17.72 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3164, allocations: 318.8 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.3165, allocations: 12 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.3165, allocations: 17.72 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.3165, allocations: 33.64 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3165, allocations: 3.938 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.778e-05/0.3166, allocations: 65.58 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3167, allocations: 4 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3167, allocations: 0 / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3167, allocations: 4.031 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.3167, allocations: 11.94 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3167, allocations: 3.938 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.3167, allocations: 7.938 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3167, allocations: 0 / 1.357 GB, free: 4.008 MB / 1.045 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 7.612e-05/0.3168, allocations: 122.4 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.3168, allocations: 0 / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.317, allocations: 61.36 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.317, allocations: 4 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.317, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.317, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3171, allocations: 136.6 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3171, allocations: 0 / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.3172, allocations: 7.938 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3172, allocations: 0 / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.3172, allocations: 0 / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3172, allocations: 7.984 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3172, allocations: 128 / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.3173, allocations: 152 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.3173, allocations: 4 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3173, allocations: 0 / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.3174, allocations: 4 kB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.3174, allocations: 4 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3174, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.3174, allocations: 87.3 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3174, allocations: 0 / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002225/0.3177, allocations: 15.94 kB / 1.358 GB, free: 3.34 MB / 1.045 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.0004878/0.3181, allocations: 0.7083 MB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.872e-05/0.3182, allocations: 27.92 kB / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3182, allocations: 0 / 1.358 GB, free: 2.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.3183, allocations: 8 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.3184, allocations: 8.047 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.3189, allocations: 152.5 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3192, allocations: 0.6807 MB / 1.359 GB, free: 1.66 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.3192, allocations: 7.922 kB / 1.359 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.3192, allocations: 15.44 kB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3192, allocations: 7.938 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3453, allocations: 1.5 MB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.835/10.18, allocations: 12.8 kB / 1.361 GB, free: 256 kB / 1.045 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.286798905115575]