Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001526/0.001526, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 194 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.345/2.345, allocations: 390.3 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5635, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002001/0.5655, allocations: 1.254 MB / 0.9509 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.5663, allocations: 0.5825 MB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.5663, allocations: 3.938 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.5663, allocations: 1.438 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.5664, allocations: 3.938 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.5668, allocations: 138.8 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.051e-05/0.5669, allocations: 9.672 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.5669, allocations: 1.375 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.5669, allocations: 6.125 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.567, allocations: 9.922 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.567, allocations: 1.156 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.5674, allocations: 336.6 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.5675, allocations: 9.5 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.5675, allocations: 1.594 kB / 0.952 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.5677, allocations: 149.3 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5677, allocations: 3.984 kB / 0.9522 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5677, allocations: 0 / 0.9522 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5677, allocations: 4.906 kB / 0.9522 GB, free: 7.332 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002733/0.568, allocations: 348 kB / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.568, allocations: 9 kB / 0.9525 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.216e-05/0.5681, allocations: 30.75 kB / 0.9525 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.5681, allocations: 3.375 kB / 0.9525 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.329e-05/0.5682, allocations: 168.3 kB / 0.9527 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.5682, allocations: 1.75 kB / 0.9527 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-06/0.5682, allocations: 384 / 0.9527 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.5683, allocations: 37.36 kB / 0.9527 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5683, allocations: 9.594 kB / 0.9527 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.5683, allocations: 0 / 0.9527 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5683, allocations: 0 / 0.9527 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.419e-05/0.5683, allocations: 3.25 kB / 0.9527 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.755e-05/0.5684, allocations: 152.5 kB / 0.9529 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.912e-05/0.5685, allocations: 27.89 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.5685, allocations: 7.016 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.5685, allocations: 1.125 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.889e-06/0.5685, allocations: 34.56 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5685, allocations: 1.25 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000113/0.5687, allocations: 46.75 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.5687, allocations: 51.41 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.151e-05/0.5687, allocations: 96.98 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.5687, allocations: 25.7 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.218e-05/0.5688, allocations: 85.89 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.5688, allocations: 11.84 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.5688, allocations: 20.95 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.5689, allocations: 310.8 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.5689, allocations: 3.188 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.5689, allocations: 1.562 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.5689, allocations: 13.98 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5689, allocations: 0 / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.179e-05/0.569, allocations: 46.12 kB / 0.9536 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.569, allocations: 9.906 kB / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.569, allocations: 0 / 0.9536 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.569, allocations: 3.938 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5692, allocations: 8.375 kB / 0.9537 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002103/0.5694, allocations: 0.5866 MB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.5694, allocations: 0 / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.5694, allocations: 5.312 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.5695, allocations: 111 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.5695, allocations: 1.281 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.716e-05/0.5696, allocations: 53.05 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.5696, allocations: 3.938 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5696, allocations: 5.188 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5696, allocations: 0 / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.085e-05/0.5697, allocations: 156.2 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5697, allocations: 3.984 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.5698, allocations: 8.094 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5698, allocations: 1.5 kB / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.5698, allocations: 0 / 0.9546 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001579/0.5699, allocations: 0.5782 MB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.57, allocations: 5.75 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.217e-05/0.57, allocations: 69.72 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.293e-05/0.57, allocations: 77.11 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.57, allocations: 1.562 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.5701, allocations: 0 / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.5701, allocations: 9.359 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.5701, allocations: 1.156 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.52e-05/0.5701, allocations: 80.81 kB / 0.9554 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5701, allocations: 4.125 kB / 0.9554 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001938/0.5703, allocations: 10.66 kB / 0.9554 GB, free: 3.812 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002346/0.5706, allocations: 0.6159 MB / 0.956 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.5707, allocations: 25.42 kB / 0.956 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5707, allocations: 0 / 0.956 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.5708, allocations: 11 kB / 0.956 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.571, allocations: 7.438 kB / 0.956 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.5713, allocations: 144.2 kB / 0.9562 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.5714, allocations: 0.6751 MB / 0.9568 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.5714, allocations: 5.312 kB / 0.9568 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.5715, allocations: 7.438 kB / 0.9568 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5715, allocations: 1.094 kB / 0.9568 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.5883, allocations: 1.328 MB / 0.9581 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.44, allocations: 448 / 0.9581 GB, free: 1.613 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches