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.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.001878/0.001878, allocations: 106.4 kB / 16.45 MB, free: 6.035 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.001927/0.001927, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.169/3.169, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001885/0.001885, allocations: 63.97 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002488/0.3451, allocations: 1.296 MB / 1.305 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3463, allocations: 0.5958 MB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.3463, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.3463, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.3464, allocations: 7.938 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.3469, allocations: 143.4 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.347, allocations: 23.92 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.3471, allocations: 0 / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.3471, allocations: 8 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.3471, allocations: 15.92 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3472, allocations: 0 / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.3477, allocations: 343.3 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.3477, allocations: 0 / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3477, allocations: 7.938 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.348, allocations: 151.8 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.348, allocations: 4 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/0.348, allocations: 0 / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.348, allocations: 4 kB / 1.306 GB, free: 14.96 MB / 1.014 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.000549/0.3486, allocations: 359.1 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3486, allocations: 8.625 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.3486, allocations: 34.75 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3487, allocations: 8.891 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3488, allocations: 164.3 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3488, allocations: 4.312 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3488, allocations: 8.312 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.349, allocations: 42.25 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.349, allocations: 3.938 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.349, allocations: 0 / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.349, allocations: 4 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.349, allocations: 15.98 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3494, allocations: 244.9 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.3496, allocations: 58.48 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.3497, allocations: 20.86 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3497, allocations: 0 / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3497, allocations: 38.55 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3497, allocations: 0 / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0001966/0.3499, allocations: 53.69 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.35, allocations: 51.41 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.3501, allocations: 97.8 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3501, allocations: 33.7 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.3502, allocations: 88.09 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.3502, allocations: 11.89 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3502, allocations: 17.72 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3504, allocations: 310.8 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.3504, allocations: 12 kB / 1.308 GB, free: 13.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.3504, allocations: 21.7 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.3505, allocations: 29.72 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3505, allocations: 3.938 kB / 1.308 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.523e-05/0.3506, allocations: 57.62 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3506, allocations: 8 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3506, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3506, allocations: 0 / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.3507, allocations: 11.98 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3507, allocations: 0 / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.3507, allocations: 3.938 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3507, allocations: 12.02 kB / 1.308 GB, free: 12.92 MB / 1.014 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 9.553e-05/0.3508, allocations: 117.7 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3508, allocations: 7.953 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.351, allocations: 61.17 kB / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.351, allocations: 0 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.351, allocations: 0 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.351, allocations: 128 / 1.308 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.3512, allocations: 161.6 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3512, allocations: 4 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.3512, allocations: 8 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3512, allocations: 0 / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3512, allocations: 3.938 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3512, allocations: 0 / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3512, allocations: 7.875 kB / 1.309 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3514, allocations: 151.9 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.3514, allocations: 85.06 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3515, allocations: 7.984 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-05/0.3515, allocations: 0 / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.3515, allocations: 4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3515, allocations: 4 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.3516, allocations: 75.28 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3516, allocations: 0 / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002592/0.3518, allocations: 19.94 kB / 1.309 GB, free: 12.11 MB / 1.014 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.0005791/0.3524, allocations: 0.72 MB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3525, allocations: 19.98 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3525, allocations: 0 / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.173e-05/0.3525, allocations: 11.94 kB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3528, allocations: 0 / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.3533, allocations: 164.1 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3536, allocations: 0.6768 MB / 1.31 GB, free: 10.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.3536, allocations: 7.984 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.3537, allocations: 11.44 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.3537, allocations: 0 / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.3803, allocations: 1.41 MB / 1.312 GB, free: 9.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.817, allocations: 11.34 kB / 1.312 GB, free: 9.133 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.489253336098045]