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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008579/0.008579, allocations: 97.89 kB / 15.73 MB, free: 5.996 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.00168/0.00168, allocations: 184.7 kB / 16.67 MB, free: 5.926 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3087, allocations: 151.6 MB / 1.166 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002545/0.3112, allocations: 1.288 MB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3123, allocations: 0.5957 MB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.3123, allocations: 4 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3124, allocations: 4 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.3124, allocations: 3.938 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.3131, allocations: 147.4 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.247e-05/0.3131, allocations: 15.92 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.3132, allocations: 4 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.3132, allocations: 8 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.3133, allocations: 11.92 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.3133, allocations: 0 / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.3138, allocations: 351.3 kB / 1.169 GB, free: 5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.3138, allocations: 0 / 1.169 GB, free: 5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.3139, allocations: 11.94 kB / 1.169 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.3142, allocations: 155.7 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3142, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3142, allocations: 0 / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3142, allocations: 0 / 1.169 GB, free: 4.836 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.0004511/0.3147, allocations: 359.1 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3147, allocations: 16.02 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.3147, allocations: 34.75 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.3148, allocations: 0.9375 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3149, allocations: 168.3 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3149, allocations: 384 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.3149, allocations: 384 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.315, allocations: 50.19 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3151, allocations: 3.938 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3151, allocations: 0 / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3151, allocations: 0 / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.3151, allocations: 19.98 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.3155, allocations: 253 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.3157, allocations: 54.5 kB / 1.17 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.3157, allocations: 20.84 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3158, allocations: 0 / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3158, allocations: 38.55 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3158, allocations: 3.938 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.316, allocations: 57.69 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.316, allocations: 51.41 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.3161, allocations: 93.86 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3161, allocations: 25.7 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.3162, allocations: 88.09 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.3162, allocations: 15.88 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3162, allocations: 17.72 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3164, allocations: 314.8 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.3164, allocations: 8 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.3164, allocations: 17.7 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.3165, allocations: 29.72 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3165, allocations: 3.938 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.819e-05/0.3166, allocations: 65.58 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3166, allocations: 8.031 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3166, allocations: 0 / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3166, allocations: 4 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.3167, allocations: 7.984 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3167, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.3167, allocations: 4.062 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.3168, allocations: 7.938 kB / 1.17 GB, free: 2.781 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 7.344e-05/0.3168, allocations: 121.7 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.3169, allocations: 4 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.317, allocations: 65.17 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.317, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.317, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.317, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3172, allocations: 165.6 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3172, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.3172, allocations: 4 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3172, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3173, allocations: 4 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3173, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3173, allocations: 4 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3174, allocations: 151.9 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3174, allocations: 77.11 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3175, allocations: 7.922 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.3175, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.3175, allocations: 8.031 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.3175, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.3176, allocations: 87.28 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00025/0.3178, allocations: 19.88 kB / 1.171 GB, free: 1.973 MB / 0.92 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.0004391/0.3183, allocations: 0.7083 MB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.833e-05/0.3184, allocations: 23.98 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3184, allocations: 4.062 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.3184, allocations: 15.94 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3186, allocations: 2.344 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.3191, allocations: 160.1 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3193, allocations: 0.6729 MB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.405e-05/0.3194, allocations: 8.234 kB / 1.173 GB, free: 296 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3194, allocations: 11.44 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.3194, allocations: 0 / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.3375, allocations: 1.399 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.745, allocations: 8.016 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches