Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 84.73 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002547/0.002547, allocations: 161.7 kB / 22.76 MB, free: 1.672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 429.6 MB / 0.673 GB, free: 3.84 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8776 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.736e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002808/0.002835, allocations: 1.364 MB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.004717, allocations: 0.8602 MB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.004753, allocations: 0.75 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.004775, allocations: 3.938 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.004839, allocations: 16.42 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007798/0.005619, allocations: 218 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.005716, allocations: 48.92 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.005757, allocations: 12 kB / 0.8801 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.005826, allocations: 19.92 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.005877, allocations: 16.98 kB / 0.8801 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.005894, allocations: 4 kB / 0.8801 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007045/0.006598, allocations: 379.4 kB / 0.8805 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.00662, allocations: 9.062 kB / 0.8805 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.006657, allocations: 15.98 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.007196, allocations: 295.2 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-05/0.007214, allocations: 4.766 kB / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/0.007215, allocations: 0 / 0.8808 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.007221, allocations: 0.5 kB / 0.8808 GB, free: 3.184 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.0006116/0.007832, allocations: 346.9 kB / 0.8811 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.00787, allocations: 8.031 kB / 0.8811 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.008167, allocations: 32.8 kB / 0.8812 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.008313, allocations: 113.7 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.008329, allocations: 1.562 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.008358, allocations: 8.375 kB / 0.8813 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.008566, allocations: 79.92 kB / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.008575, allocations: 1.281 kB / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.008587, allocations: 384 / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.008592, allocations: 384 / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.008731, allocations: 28.58 kB / 0.8814 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.008924, allocations: 118.9 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.009281, allocations: 66.52 kB / 0.8816 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.009376, allocations: 31.89 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.009391, allocations: 0 / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.00943, allocations: 38.56 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.00943, allocations: 0 / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.002346/0.01178, allocations: 411 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.01183, allocations: 55.34 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.01196, allocations: 127.7 kB / 0.8822 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.01199, allocations: 25.7 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.01207, allocations: 88.09 kB / 0.8823 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.01211, allocations: 19.8 kB / 0.8823 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.01218, allocations: 38.59 kB / 0.8824 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.01237, allocations: 314.8 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.01254, allocations: 44.59 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.0127, allocations: 55.62 kB / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.013, allocations: 92.83 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.013, allocations: 0 / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004294/0.01343, allocations: 157.5 kB / 0.883 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01345, allocations: 8 kB / 0.883 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.01346, allocations: 7.922 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01348, allocations: 0 / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.01363, allocations: 15.98 kB / 0.883 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.01365, allocations: 11.94 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01375, allocations: 4 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01376, allocations: 7.984 kB / 0.8831 GB, free: 0.6758 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001153/0.01388, allocations: 109.8 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01391, allocations: 8 kB / 0.8832 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.01396, allocations: 4.438 kB / 0.8832 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.01396, allocations: 0 / 0.8832 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.01397, allocations: 3.938 kB / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.01397, allocations: 0 / 0.8832 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.01484, allocations: 319 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01484, allocations: 0 / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.01501, allocations: 19.98 kB / 0.8835 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.01502, allocations: 4 kB / 0.8835 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01503, allocations: 3.938 kB / 0.8835 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01504, allocations: 7.922 kB / 0.8835 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01504, allocations: 0 / 0.8835 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.01563, allocations: 240.5 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.01567, allocations: 11.97 kB / 0.8838 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.0157, allocations: 7.938 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.01585, allocations: 7.984 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.01587, allocations: 8 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01588, allocations: 0 / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.779e-05/0.01596, allocations: 99.02 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01596, allocations: 0 / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002823/0.01624, allocations: 23.98 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.000223/0.01647, allocations: 123.2 kB / 0.884 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.01686, allocations: 109.6 kB / 0.8841 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01686, allocations: 0 / 0.8841 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.01701, allocations: 39.91 kB / 0.8842 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.01736, allocations: 17.11 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.01829, allocations: 250.1 kB / 0.8844 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.802e-05/0.01838, allocations: 83.12 kB / 0.8845 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.803e-05/0.01843, allocations: 7.938 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.0185, allocations: 16.5 kB / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.0185, allocations: 0 / 0.8845 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of Templates: time 0.006049/0.02455, allocations: 1.784 MB / 0.8863 GB, free: 13.3 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.265279763028957]