Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.0008801/0.0008801, allocations: 80.25 kB / 20.03 MB, free: 4.488 MB / 18.57 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.0009735/0.0009735, allocations: 173.9 kB / 23.34 MB, free: 1.184 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 0.9519/0.9519, allocations: 177.1 MB / 203.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.861/1.861, allocations: 390.1 MB / 0.635 GB, free: 11.54 MB / 0.6042 GB " [Timeout remaining time 178] 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.845e-05, allocations: 6.312 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001929/0.001967, allocations: 1.39 MB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.002946, allocations: 0.8645 MB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.002982, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.003001, allocations: 3.938 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.00306, allocations: 11.92 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.003581, allocations: 230.8 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.003668, allocations: 55.77 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.003726, allocations: 7.984 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.802e-05/0.003784, allocations: 35.91 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.003851, allocations: 15.97 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.00387, allocations: 4 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.004232, allocations: 367.5 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.004253, allocations: 19.91 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.004282, allocations: 19.92 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.004624, allocations: 311.2 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004627, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004628, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.004633, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000455/0.005087, allocations: 357.2 kB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.005134, allocations: 8.031 kB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.00532, allocations: 28.86 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.245e-05/0.005413, allocations: 117.6 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.005435, allocations: 4.375 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.005456, allocations: 4.375 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.005669, allocations: 117.6 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.005681, allocations: 192 / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.005694, allocations: 384 / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005702, allocations: 4.359 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.919e-05/0.005791, allocations: 39.91 kB / 1.007 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.005921, allocations: 121.3 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.006075, allocations: 82.47 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.006133, allocations: 40.83 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.006147, allocations: 4.234 kB / 1.007 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.006169, allocations: 34.56 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.00617, allocations: 0 / 1.007 GB, free: 6.426 MB / 0.9636 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002974/0.009143, allocations: 0.9599 MB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.009178, allocations: 59.41 kB / 1.008 GB, free: 5.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.009259, allocations: 125.8 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.009278, allocations: 29.7 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.009314, allocations: 84.42 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.009355, allocations: 47.62 kB / 1.008 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.009418, allocations: 41.69 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.009511, allocations: 322.8 kB / 1.009 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.009671, allocations: 79.95 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.009816, allocations: 87.94 kB / 1.009 GB, free: 4.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.01012, allocations: 186.9 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01012, allocations: 0 / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003664/0.01048, allocations: 235.7 kB / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.0105, allocations: 8 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.01052, allocations: 0 / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01053, allocations: 0 / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.0107, allocations: 47.83 kB / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.0107, allocations: 0 / 1.009 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.01078, allocations: 15.98 kB / 1.009 GB, free: 4.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.0108, allocations: 4 kB / 1.009 GB, free: 4.008 MB / 0.9636 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 (14): * Single equations (assignments): 13 * 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 7.827e-05/0.01088, allocations: 113.8 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.01089, allocations: 11.95 kB / 1.01 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.01093, allocations: 16.42 kB / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01093, allocations: 0 / 1.01 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.01094, allocations: 3.938 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01094, allocations: 0 / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/0.01166, allocations: 398.1 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01166, allocations: 0 / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.0118, allocations: 31.95 kB / 1.01 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01181, allocations: 4 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01182, allocations: 11.92 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01183, allocations: 4.016 kB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01183, allocations: 3.984 kB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.01234, allocations: 362.9 kB / 1.01 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.01235, allocations: 3.953 kB / 1.01 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.01237, allocations: 11.95 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01248, allocations: 11.94 kB / 1.01 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.01251, allocations: 11.97 kB / 1.01 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01252, allocations: 8 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.01256, allocations: 92.03 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01256, allocations: 0 / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002004/0.01276, allocations: 43.94 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001538/0.01292, allocations: 127.2 kB / 1.011 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.01327, allocations: 197.9 kB / 1.011 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01327, allocations: 0 / 1.011 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.0134, allocations: 75.88 kB / 1.011 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.01365, allocations: 8 kB / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.01449, allocations: 408.3 kB / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.01454, allocations: 75.33 kB / 1.011 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.458e-05/0.01462, allocations: 20.73 kB / 1.011 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.01469, allocations: 24.48 kB / 1.011 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.01469, allocations: 0 / 1.011 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of Templates: time 0.003576/0.01826, allocations: 2.3 MB / 1.014 GB, free: 15.6 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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: 5.298609941266477]