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.0009075/0.0009075, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.00228, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001382/0.001382, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.003108, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.13/1.13, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09525/1.225, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.414/2.414, allocations: 446.7 MB / 0.6745 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2789/2.693, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.282e-06/1.282e-06, allocations: 0 / 0.8184 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.86e-05, allocations: 4.422 kB / 0.8184 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001978/0.001996, allocations: 1.481 MB / 0.8198 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003111, allocations: 0.9731 MB / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.00314, allocations: 0 / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 8.366e-06/0.003149, allocations: 0 / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.323e-05/0.003182, allocations: 15.84 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004523/0.007704, allocations: 262.8 kB / 0.821 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.007791, allocations: 47.73 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.007839, allocations: 4.266 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.007916, allocations: 35.95 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.007967, allocations: 11.92 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.007979, allocations: 4 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.008611, allocations: 435.3 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.008625, allocations: 4 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.008647, allocations: 11.94 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.009039, allocations: 299.1 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.448e-05/0.009053, allocations: 0 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.31e-07/0.009054, allocations: 0 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.009069, allocations: 0 / 0.8218 GB, free: 15.21 MB / 0.8073 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.0004218/0.009491, allocations: 355.5 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.009522, allocations: 12.62 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.00955, allocations: 0.9375 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.009633, allocations: 121.7 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.009643, allocations: 4.375 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.009662, allocations: 384 / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.141e-05/0.009743, allocations: 67.95 kB / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.00975, allocations: 192 / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.009758, allocations: 4.125 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.009763, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.009787, allocations: 7.938 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.623e-05/0.009873, allocations: 69.03 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.01002, allocations: 34.59 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.01004, allocations: 16.86 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.01006, allocations: 3.938 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.01008, allocations: 34.56 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.01008, allocations: 0 / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.004027/0.0141, allocations: 423.2 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.01414, allocations: 55.34 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.01421, allocations: 137.7 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.01422, allocations: 29.7 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.01425, allocations: 84.12 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.01428, allocations: 23.78 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.01433, allocations: 29.69 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.0144, allocations: 318.8 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.01443, allocations: 15.98 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.01445, allocations: 15.94 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.01451, allocations: 47.58 kB / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01451, allocations: 0 / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 9.497e-05/0.0146, allocations: 81.67 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.01462, allocations: 4 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.01463, allocations: 0 / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.01464, allocations: 0 / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.01471, allocations: 15.98 kB / 0.8238 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.01471, allocations: 11.88 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.01474, allocations: 0 / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01474, allocations: 0 / 0.8238 GB, free: 13.02 MB / 0.8073 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 5.699e-05/0.0148, allocations: 113.8 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.01481, allocations: 7.984 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.275e-05/0.01491, allocations: 66.05 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01491, allocations: 0 / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.01491, allocations: 3.938 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01491, allocations: 0 / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.01514, allocations: 223.6 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01514, allocations: 0 / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.0152, allocations: 16 kB / 0.8242 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01522, allocations: 11.94 kB / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01523, allocations: 0 / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.01523, allocations: 3.938 kB / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01524, allocations: 12.16 kB / 0.8242 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01524, allocations: 7.938 kB / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.01537, allocations: 156.4 kB / 0.8244 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.01538, allocations: 0 / 0.8244 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.01544, allocations: 15.92 kB / 0.8244 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.01545, allocations: 0 / 0.8244 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.01546, allocations: 4 kB / 0.8244 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.01548, allocations: 20.83 kB / 0.8244 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01548, allocations: 0 / 0.8244 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002342/0.01571, allocations: 59.8 kB / 0.8245 GB, free: 12.25 MB / 0.8073 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.0001827/0.01589, allocations: 144.2 kB / 0.8246 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.016, allocations: 66.55 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.016, allocations: 7.984 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.01603, allocations: 20.78 kB / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.01921, allocations: 15.98 kB / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.02051, allocations: 185.6 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.416e-05/0.02054, allocations: 55.36 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.585e-05/0.02058, allocations: 7.984 kB / 0.8249 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.02064, allocations: 63.38 kB / 0.825 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.02065, allocations: 0 / 0.825 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.007224/0.02787, allocations: 2.124 MB / 0.8271 GB, free: 9.547 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3546187952160835]