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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008693/0.008694, allocations: 100.5 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002456/0.002456, allocations: 191.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.369/2.369, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6101, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002074/0.6122, allocations: 1.288 MB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.6131, allocations: 0.5955 MB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.6131, allocations: 0 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.6132, allocations: 4 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.6132, allocations: 7.922 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.6137, allocations: 139.4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.6137, allocations: 19.92 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.6138, allocations: 8 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.6138, allocations: 7.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.6138, allocations: 15.97 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.6138, allocations: 0 / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004985/0.6143, allocations: 343.3 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.6144, allocations: 11.86 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.6144, allocations: 4 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.6146, allocations: 147.2 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6146, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6146, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6147, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9512 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.0003793/0.615, allocations: 363.1 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6151, allocations: 12.03 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.6151, allocations: 34.75 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.029e-05/0.6151, allocations: 8.859 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.6153, allocations: 172.3 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.6153, allocations: 384 / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.6153, allocations: 384 / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.626e-05/0.6154, allocations: 46.19 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6154, allocations: 7.938 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.6154, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.6154, allocations: 0 / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/0.6155, allocations: 23.97 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.6157, allocations: 244.9 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.6159, allocations: 50.62 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.616, allocations: 16.86 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.616, allocations: 4 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.616, allocations: 34.5 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.616, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.6162, allocations: 57.69 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.6162, allocations: 51.41 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.6163, allocations: 101.8 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.6163, allocations: 25.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.6164, allocations: 92.08 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.6164, allocations: 15.91 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.6164, allocations: 17.7 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6166, allocations: 314.8 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.6166, allocations: 4 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.925e-05/0.6166, allocations: 25.64 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.6167, allocations: 33.72 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6167, allocations: 3.938 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.494e-05/0.6168, allocations: 57.62 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.6168, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.6168, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6168, allocations: 4 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.838e-05/0.6169, allocations: 4 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6169, allocations: 7.938 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.6169, allocations: 4.109 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.6169, allocations: 4 kB / 1.224 GB, free: 13.38 MB / 0.9512 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 8.328e-05/0.617, allocations: 126.3 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.617, allocations: 3.938 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.6171, allocations: 65.08 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6171, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6172, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.6172, allocations: 4.453 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.6173, allocations: 157.6 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6173, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.6174, allocations: 11.98 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6174, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6174, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6174, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6174, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.6175, allocations: 155.4 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.6176, allocations: 77.11 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.6176, allocations: 4 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.6176, allocations: 4 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.6176, allocations: 7.984 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.6177, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.6177, allocations: 79.28 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6177, allocations: 0 / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002173/0.6179, allocations: 15.94 kB / 1.225 GB, free: 12.58 MB / 0.9512 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.0004513/0.6184, allocations: 0.7161 MB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.6185, allocations: 20 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.6185, allocations: 0 / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.6185, allocations: 15.98 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.6187, allocations: 0 / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.6191, allocations: 160 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.6193, allocations: 0.6884 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.6194, allocations: 0 / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.6194, allocations: 17.55 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of SimCode: time 1.91e-07/0.6194, allocations: 0 / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5405/1.16, allocations: 1.396 MB / 1.228 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.93, allocations: 19.8 kB / 1.228 GB, free: 9.598 MB / 0.9512 GB (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 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches