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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001434/0.001434, allocations: 108 kB / 15.61 MB, free: 152 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.001692/0.001692, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 65.61 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3587, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002155/0.3609, allocations: 1.284 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.3618, allocations: 0.6015 MB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.3618, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.3618, allocations: 3.938 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.3619, allocations: 0 / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.3623, allocations: 146.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.892e-05/0.3624, allocations: 19.88 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.3624, allocations: 19.92 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.3624, allocations: 7.984 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.27e-05/0.3625, allocations: 7.938 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3625, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.363, allocations: 339.4 kB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.363, allocations: 4 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.363, allocations: 11.92 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3632, allocations: 140 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3632, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3633, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3633, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 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.0003684/0.3636, allocations: 367.4 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3637, allocations: 12.03 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.3637, allocations: 4.844 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.3638, allocations: 164.3 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.3638, allocations: 384 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3639, allocations: 8.375 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.247e-05/0.364, allocations: 46.25 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.364, allocations: 192 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.364, allocations: 7.938 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.364, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.364, allocations: 15.98 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.3643, allocations: 249 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3645, allocations: 54.5 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.3646, allocations: 16.86 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3646, allocations: 4 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3646, allocations: 42.55 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.3646, allocations: 0 / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001523/0.3648, allocations: 57.62 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.3648, allocations: 55.34 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.3649, allocations: 93.86 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.3649, allocations: 25.7 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.3649, allocations: 92.05 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.365, allocations: 19.73 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.365, allocations: 17.72 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.3651, allocations: 310.8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.3651, allocations: 11.98 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.3652, allocations: 17.72 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.3652, allocations: 34.03 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3652, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.458e-05/0.3653, allocations: 61.61 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3653, allocations: 11.94 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3653, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3653, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-05/0.3654, allocations: 15.92 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3654, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.3654, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3654, allocations: 4 kB / 1.072 GB, free: 5.809 MB / 0.8262 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 6.18e-05/0.3655, allocations: 119.6 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.3655, allocations: 4 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.3657, allocations: 57.17 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3657, allocations: 4 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3657, allocations: 0 / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3657, allocations: 0 / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3658, allocations: 161.5 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3658, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.3659, allocations: 11.94 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3659, allocations: 4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.3659, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3659, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3659, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.366, allocations: 147.5 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3661, allocations: 85.09 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3661, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.3661, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.3661, allocations: 4 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3662, allocations: 4.125 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.804e-05/0.3662, allocations: 79.28 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3662, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002417/0.3664, allocations: 27.92 kB / 1.073 GB, free: 5.012 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.0001648/0.3666, allocations: 115.7 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.3667, allocations: 27.92 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3667, allocations: 4 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.3667, allocations: 16 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.3669, allocations: 7.938 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.3672, allocations: 140 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3674, allocations: 0.6807 MB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.3674, allocations: 7.984 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.3675, allocations: 11.44 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3675, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.00231/0.3698, allocations: 0.5119 MB / 1.075 GB, free: 3.434 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/jenkins/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