Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.001857/0.001857, allocations: 88.72 kB / 19.44 MB, free: 356 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.001653/0.001653, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.217/3.217, allocations: 429.6 MB / 0.673 GB, free: 3.91 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.744e-05, allocations: 3.562 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.002784/0.002812, allocations: 1.378 MB / 0.879 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.004654, allocations: 0.8651 MB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.004692, allocations: 0.7188 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.00472, allocations: 3.938 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.004788, allocations: 13.52 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.005602, allocations: 209.1 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.005716, allocations: 51.72 kB / 0.8801 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.005764, allocations: 12.5 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.005849, allocations: 29.3 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.005905, allocations: 11.94 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.005923, allocations: 4 kB / 0.8801 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.006661, allocations: 375.4 kB / 0.8805 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.006684, allocations: 13.52 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.006727, allocations: 15.98 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.007277, allocations: 291.2 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00728, allocations: 0 / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.32e-07/0.007281, allocations: 1.969 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.007285, allocations: 11.88 kB / 0.8808 GB, free: 3.234 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.0005663/0.007851, allocations: 341.4 kB / 0.8811 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.00789, allocations: 8.031 kB / 0.8811 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.008179, allocations: 32.8 kB / 0.8812 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.00831, allocations: 116.3 kB / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.008331, allocations: 8.359 kB / 0.8813 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.008359, allocations: 4.375 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.008559, allocations: 71.94 kB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.008567, allocations: 4.188 kB / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.008577, allocations: 384 / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.008581, allocations: 4.375 kB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.008713, allocations: 23.92 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.008915, allocations: 129.2 kB / 0.8815 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.009276, allocations: 58.55 kB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.009374, allocations: 28.94 kB / 0.8816 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.009391, allocations: 0 / 0.8816 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.009423, allocations: 30.56 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.009424, allocations: 0 / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.002293/0.01172, allocations: 412.8 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.01177, allocations: 59.34 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01191, allocations: 128.7 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.01194, allocations: 29.7 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.012, allocations: 88.09 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.01204, allocations: 23.78 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.01212, allocations: 33.7 kB / 0.8824 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.0123, allocations: 314.8 kB / 0.8827 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.01247, allocations: 43.97 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.01262, allocations: 43.97 kB / 0.8828 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.01292, allocations: 96.88 kB / 0.8828 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01292, allocations: 11.94 kB / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004249/0.01335, allocations: 145.5 kB / 0.883 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01337, allocations: 4 kB / 0.883 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.01338, allocations: 7.984 kB / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.0134, allocations: 0 / 0.883 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01355, allocations: 19.98 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.01356, allocations: 7.938 kB / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.01365, allocations: 0 / 0.883 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01367, allocations: 11.98 kB / 0.883 GB, free: 0.7305 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.0001102/0.01378, allocations: 113.8 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.01381, allocations: 4 kB / 0.8832 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.01385, allocations: 8.438 kB / 0.8832 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01386, allocations: 0 / 0.8832 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.01386, allocations: 7.875 kB / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01387, allocations: 0 / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.01468, allocations: 315 kB / 0.8835 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01468, allocations: 4.031 kB / 0.8835 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.01482, allocations: 19.92 kB / 0.8835 GB, free: 224 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.01483, allocations: 4 kB / 0.8835 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01484, allocations: 3.938 kB / 0.8835 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.01485, allocations: 3.984 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01485, allocations: 0 / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.01543, allocations: 236.3 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.01547, allocations: 11.94 kB / 0.8837 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01549, allocations: 8 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.01563, allocations: 4 kB / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.01566, allocations: 7.984 kB / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.01567, allocations: 12.06 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.01575, allocations: 91.27 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01575, allocations: 4 kB / 0.8839 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002948/0.01604, allocations: 23.98 kB / 0.8839 GB, free: 15.8 MB / 0.8542 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 () * 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.000221/0.01626, allocations: 115.2 kB / 0.884 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.01665, allocations: 113.6 kB / 0.8841 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01665, allocations: 0 / 0.8841 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.0168, allocations: 39.91 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01715, allocations: 19.92 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.01797, allocations: 246 kB / 0.8844 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.295e-05/0.01806, allocations: 71.2 kB / 0.8845 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.693e-05/0.01812, allocations: 11.98 kB / 0.8845 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.01819, allocations: 12.5 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01819, allocations: 0 / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.005484/0.02367, allocations: 1.784 MB / 0.8862 GB, free: 13.39 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.301716420915909]