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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009416, allocations: 99.34 kB / 16.02 MB, free: 76 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.001111/0.001112, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.32/1.32, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 9.156 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3118, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001489/0.3133, allocations: 1.022 MB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3144, allocations: 0.6035 MB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.3145, allocations: 0 / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.76e-05/0.3145, allocations: 4 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.3146, allocations: 0 / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3151, allocations: 119.6 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.473e-05/0.3151, allocations: 15.88 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.3152, allocations: 3.984 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.3152, allocations: 19.92 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.3153, allocations: 4 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3153, allocations: 4 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.3158, allocations: 343.3 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.3158, allocations: 7.922 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.3158, allocations: 41.58 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.316, allocations: 96.11 kB / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.316, allocations: 0 / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.316, allocations: 0 / 1.062 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.316, allocations: 0 / 1.062 GB, free: 2.703 MB / 0.8106 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.0004086/0.3164, allocations: 359.4 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3165, allocations: 19.97 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.3165, allocations: 0.9375 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3167, allocations: 164.4 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3167, allocations: 4.375 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3167, allocations: 384 / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.3168, allocations: 42.25 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3168, allocations: 192 / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3168, allocations: 3.938 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.3169, allocations: 3.938 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.3169, allocations: 23.98 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3173, allocations: 252.9 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.3175, allocations: 42.56 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.3176, allocations: 16.86 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3176, allocations: 7.984 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.023e-05/0.3177, allocations: 42.5 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3177, allocations: 0 / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.3179, allocations: 49.69 kB / 1.063 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.3179, allocations: 59.41 kB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.318, allocations: 97.8 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.318, allocations: 25.7 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3181, allocations: 80.14 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.3181, allocations: 19.73 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.3181, allocations: 13.72 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3182, allocations: 318.8 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.3183, allocations: 4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.3183, allocations: 33.64 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/0.3184, allocations: 21.72 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3184, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.222e-05/0.3185, allocations: 65.56 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3185, allocations: 9.594 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3185, allocations: 0 / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3185, allocations: 4 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.3186, allocations: 7.984 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.3186, allocations: 4 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.3186, allocations: 3.906 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3186, allocations: 432 / 1.063 GB, free: 0.7031 MB / 0.8106 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.193e-05/0.3187, allocations: 121.7 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.3187, allocations: 0 / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.3189, allocations: 73.09 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3189, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3189, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3189, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.319, allocations: 161.6 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3191, allocations: 0 / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.3191, allocations: 4 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3191, allocations: 0 / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3191, allocations: 4 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3191, allocations: 0 / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3191, allocations: 4 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.3192, allocations: 151.4 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3193, allocations: 85 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3193, allocations: 0 / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.3194, allocations: 4 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.3194, allocations: 4 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.3194, allocations: 3.938 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3195, allocations: 83.42 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3195, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002409/0.3197, allocations: 19.94 kB / 1.064 GB, free: 15.89 MB / 0.8262 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.0001862/0.3199, allocations: 127.2 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.424e-05/0.32, allocations: 20 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3201, allocations: 3.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.3201, allocations: 11.98 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3203, allocations: 10.89 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.3206, allocations: 158.4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3209, allocations: 0.6809 MB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.3209, allocations: 7.438 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3209, allocations: 0 / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of Templates: time 0.002612/0.3235, allocations: 0.6921 MB / 1.066 GB, free: 14.12 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches