Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 180.8 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.5 MB / 0.7824 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008988/0.0008988, allocations: 91.84 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.504e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2389, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8736/1.112, allocations: 149.2 MB / 1.352 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/1.113, allocations: 81.45 kB / 1.352 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009034/1.122, allocations: 2.854 MB / 1.355 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.756e-06/1.122, allocations: 0.75 kB / 1.355 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.122, allocations: 3.812 kB / 1.355 GB, free: 33.77 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002742/1.122, allocations: 346.4 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.122, allocations: 7.531 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/1.122, allocations: 0.625 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/1.122, allocations: 172 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.122, allocations: 4.656 kB / 1.355 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/1.122, allocations: 3.906 kB / 1.355 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.755e-05/1.123, allocations: 12.52 kB / 1.355 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.781e-05/1.123, allocations: 32.3 kB / 1.355 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.123, allocations: 3.844 kB / 1.355 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/1.123, allocations: 0 / 1.355 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/1.123, allocations: 3.938 kB / 1.355 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/1.123, allocations: 139 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/1.123, allocations: 47.47 kB / 1.355 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/1.123, allocations: 20.95 kB / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/1.123, allocations: 0 / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/1.123, allocations: 31.36 kB / 1.355 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/1.123, allocations: 3.938 kB / 1.355 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004384/1.123, allocations: 279.6 kB / 1.356 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/1.124, allocations: 55.41 kB / 1.356 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/1.124, allocations: 93.39 kB / 1.356 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/1.124, allocations: 25.7 kB / 1.356 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.479e-05/1.124, allocations: 80.66 kB / 1.356 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/1.124, allocations: 20.98 kB / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.124, allocations: 0 / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/1.124, allocations: 316.1 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/1.124, allocations: 11.12 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/1.124, allocations: 11.12 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/1.124, allocations: 13.41 kB / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/1.124, allocations: 0 / 1.356 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.485e-05/1.124, allocations: 62.28 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.124, allocations: 4.656 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/1.124, allocations: 0 / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.124, allocations: 0 / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.76e-05/1.124, allocations: 13.23 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/1.124, allocations: 0 / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/1.124, allocations: 4.594 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/1.124, allocations: 3.875 kB / 1.356 GB, free: 32.03 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/1.124, allocations: 109.5 kB / 1.356 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/1.124, allocations: 0 / 1.356 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/1.124, allocations: 75.28 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.124, allocations: 3.875 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.124, allocations: 0 / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.124, allocations: 4.594 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/1.125, allocations: 290 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.125, allocations: 4.031 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/1.125, allocations: 13.05 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/1.125, allocations: 4.578 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.125, allocations: 0 / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.125, allocations: 0 / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.125, allocations: 0.75 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/1.125, allocations: 187.4 kB / 1.357 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/1.125, allocations: 83.08 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/1.125, allocations: 4.422 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.276e-05/1.125, allocations: 0.5625 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/1.125, allocations: 5.344 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/1.125, allocations: 3.969 kB / 1.357 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.329e-05/1.125, allocations: 79.8 kB / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.125, allocations: 0 / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002305/1.125, allocations: 24.45 kB / 1.357 GB, free: 31.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/1.125, allocations: 133.1 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/1.126, allocations: 26.62 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.126, allocations: 0 / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/1.126, allocations: 19.97 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/1.126, allocations: 4.609 kB / 1.357 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/1.126, allocations: 146.2 kB / 1.357 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/1.126, allocations: 0.6817 MB / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.278e-05/1.126, allocations: 5.281 kB / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/1.126, allocations: 11.28 kB / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.126, allocations: 0 / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.002455/1.129, allocations: 0.5881 MB / 1.359 GB, free: 30.24 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches