Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_9_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.001553/0.001553, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001879/0.001879, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5444/0.5457, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001935/0.5477, allocations: 1.348 MB / 0.9505 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.5484, allocations: 0.5942 MB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.5484, allocations: 0 / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.5485, allocations: 1.375 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.5485, allocations: 3.938 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.5489, allocations: 125 kB / 0.9513 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.549, allocations: 17.56 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.549, allocations: 9.359 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.549, allocations: 8.109 kB / 0.9513 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.5491, allocations: 8.062 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.5491, allocations: 5.312 kB / 0.9513 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.5495, allocations: 345.5 kB / 0.9516 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.5495, allocations: 9.141 kB / 0.9516 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.5495, allocations: 7.375 kB / 0.9516 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.5498, allocations: 143.7 kB / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5498, allocations: 0 / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5498, allocations: 0 / 0.9518 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5498, allocations: 1.312 kB / 0.9518 GB, free: 7.207 MB / 0.7169 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.0003045/0.5501, allocations: 362.2 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5501, allocations: 9.312 kB / 0.9521 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.269e-05/0.5502, allocations: 32.16 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.04e-05/0.5502, allocations: 2.375 kB / 0.9522 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.759e-05/0.5502, allocations: 173.7 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.5503, allocations: 5.75 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.5503, allocations: 1.688 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.747e-05/0.5504, allocations: 37.36 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.5504, allocations: 7.938 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5504, allocations: 3.984 kB / 0.9524 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5504, allocations: 5.312 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.5504, allocations: 12.75 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.5507, allocations: 249.4 kB / 0.9526 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.5509, allocations: 53.84 kB / 0.9527 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.5509, allocations: 24.41 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.5509, allocations: 1.281 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.5509, allocations: 35.78 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.5509, allocations: 0 / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001563/0.5511, allocations: 59.72 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.5511, allocations: 55.34 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.13e-05/0.5512, allocations: 106.8 kB / 0.953 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-06/0.5512, allocations: 25.7 kB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.5512, allocations: 85.64 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.5512, allocations: 9.156 kB / 0.9531 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.5513, allocations: 17.66 kB / 0.9531 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.5513, allocations: 320.2 kB / 0.9534 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.5513, allocations: 3.969 kB / 0.9534 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.5514, allocations: 19.84 kB / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.5514, allocations: 33.02 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5514, allocations: 3.938 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.649e-05/0.5515, allocations: 60.47 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.5515, allocations: 4.75 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5515, allocations: 1.094 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5515, allocations: 5 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.5516, allocations: 10.41 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.5516, allocations: 1 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.5516, allocations: 8.781 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.5516, allocations: 5.719 kB / 0.9536 GB, free: 5.32 MB / 0.7169 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 4.074e-05/0.5517, allocations: 120.4 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.5517, allocations: 5.578 kB / 0.9537 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.5518, allocations: 55.38 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5518, allocations: 1.781 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5518, allocations: 0 / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.5518, allocations: 0 / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.552, allocations: 160 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.552, allocations: 4 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.552, allocations: 8.969 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.552, allocations: 1.719 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.552, allocations: 7.922 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.552, allocations: 0 / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.552, allocations: 1.375 kB / 0.9539 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.211e-05/0.5521, allocations: 147.4 kB / 0.954 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.5521, allocations: 81.02 kB / 0.9541 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.5522, allocations: 1.25 kB / 0.9541 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.5522, allocations: 9.25 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.5522, allocations: 1.156 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.5522, allocations: 1.25 kB / 0.9541 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.5523, allocations: 81.7 kB / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5523, allocations: 0 / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002443/0.5525, allocations: 18.47 kB / 0.9542 GB, free: 4.594 MB / 0.7169 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.0002751/0.5528, allocations: 0.7123 MB / 0.9549 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.5529, allocations: 26.39 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5529, allocations: 1.156 kB / 0.955 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.5529, allocations: 11.38 kB / 0.955 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.5532, allocations: 9.266 kB / 0.955 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.5535, allocations: 168.8 kB / 0.9551 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.5536, allocations: 0.6822 MB / 0.9558 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.5537, allocations: 6.828 kB / 0.9558 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.5537, allocations: 12.88 kB / 0.9558 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.5537, allocations: 0 / 0.9558 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2537/0.8074, allocations: 1.287 MB / 0.9571 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/0.8076, allocations: 226.7 kB / 0.9573 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.629, allocations: 1.875 kB / 0.9573 GB, free: 2.109 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches