Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001346/0.001346, allocations: 105.9 kB / 16.45 MB, free: 6.488 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.001292/0.001292, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.587/2.587, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 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.InverseFlowFunctions,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 67.89 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9286/0.9308, allocations: 160.7 MB / 1.213 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002643/0.9335, allocations: 1.296 MB / 1.214 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.9346, allocations: 0.5955 MB / 1.215 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.9346, allocations: 0 / 1.215 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.9347, allocations: 3.938 kB / 1.215 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.9347, allocations: 0 / 1.215 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.9352, allocations: 148.6 kB / 1.215 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.9353, allocations: 23.86 kB / 1.215 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.9354, allocations: 0 / 1.215 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.9354, allocations: 11.94 kB / 1.215 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.9354, allocations: 7.984 kB / 1.215 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.9354, allocations: 4 kB / 1.215 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005637/0.936, allocations: 343.3 kB / 1.215 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.936, allocations: 0 / 1.215 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.9361, allocations: 11.94 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.9364, allocations: 161.3 kB / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9364, allocations: 0 / 1.215 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9364, allocations: 4 kB / 1.215 GB, free: 2.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.9364, allocations: 3.938 kB / 1.215 GB, free: 2.809 MB / 0.92 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.0005646/0.937, allocations: 359.1 kB / 1.216 GB, free: 2.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.937, allocations: 8.625 kB / 1.216 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.9371, allocations: 34.73 kB / 1.216 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.9371, allocations: 4.938 kB / 1.216 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.9372, allocations: 160.4 kB / 1.216 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.9372, allocations: 384 / 1.216 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.9372, allocations: 8.312 kB / 1.216 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.9374, allocations: 50.25 kB / 1.216 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.9374, allocations: 3.938 kB / 1.216 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.9374, allocations: 0 / 1.216 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.9374, allocations: 0 / 1.216 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.9374, allocations: 15.92 kB / 1.216 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.9378, allocations: 256.9 kB / 1.216 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.938, allocations: 54.55 kB / 1.216 GB, free: 1.711 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.938, allocations: 12.86 kB / 1.216 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.938, allocations: 4 kB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.9381, allocations: 34.56 kB / 1.216 GB, free: 1.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.9381, allocations: 0 / 1.216 GB, free: 1.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.9382, allocations: 53.62 kB / 1.216 GB, free: 1.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.9383, allocations: 59.39 kB / 1.217 GB, free: 1.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/0.9384, allocations: 101.9 kB / 1.217 GB, free: 1.41 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.9384, allocations: 25.7 kB / 1.217 GB, free: 1.379 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.9384, allocations: 84.09 kB / 1.217 GB, free: 1.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.9385, allocations: 7.953 kB / 1.217 GB, free: 1.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.9385, allocations: 17.7 kB / 1.217 GB, free: 1.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.9387, allocations: 318.8 kB / 1.217 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.9387, allocations: 4 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.601e-05/0.9387, allocations: 21.7 kB / 1.217 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.9388, allocations: 37.66 kB / 1.217 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9388, allocations: 3.938 kB / 1.217 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.741e-05/0.9389, allocations: 61.58 kB / 1.217 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.9389, allocations: 4 kB / 1.217 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9389, allocations: 0 / 1.217 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.9389, allocations: 0 / 1.217 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.664e-05/0.939, allocations: 11.98 kB / 1.217 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.939, allocations: 0 / 1.217 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.939, allocations: 8.031 kB / 1.217 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.939, allocations: 4.125 kB / 1.217 GB, free: 0.7695 MB / 0.92 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 0.0001593/0.9392, allocations: 121.7 kB / 1.217 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.9392, allocations: 4 kB / 1.217 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.9393, allocations: 61.12 kB / 1.217 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.9393, allocations: 0 / 1.217 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9393, allocations: 7.922 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9393, allocations: 0 / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.9395, allocations: 173.5 kB / 1.218 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9395, allocations: 480 / 1.218 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.9396, allocations: 4 kB / 1.218 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.9396, allocations: 0 / 1.218 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.9396, allocations: 4 kB / 1.218 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9396, allocations: 4 kB / 1.218 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9396, allocations: 0 / 1.218 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.9398, allocations: 151.5 kB / 1.218 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.9398, allocations: 81.11 kB / 1.218 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.9399, allocations: 0 / 1.218 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.9399, allocations: 3.984 kB / 1.218 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.9399, allocations: 7.938 kB / 1.218 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.9399, allocations: 0 / 1.218 GB, free: 52 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.94, allocations: 79.28 kB / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.94, allocations: 0 / 1.218 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002472/0.9402, allocations: 19.94 kB / 1.218 GB, free: 15.95 MB / 0.9356 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.0005601/0.9408, allocations: 0.7084 MB / 1.219 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.9409, allocations: 27.92 kB / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9409, allocations: 0 / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.9409, allocations: 4 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.9411, allocations: 8 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.9416, allocations: 163 kB / 1.219 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.9419, allocations: 0.6768 MB / 1.219 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.942, allocations: 8.219 kB / 1.219 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.942, allocations: 15.44 kB / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.942, allocations: 0 / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.9659, allocations: 1.399 MB / 1.221 GB, free: 13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/9.162, allocations: 27.98 kB / 1.221 GB, free: 12.98 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.9128080108203]