Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_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.002759/0.002759, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.004357/0.004357, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.58/1.58, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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 3.809/3.809, allocations: 440.4 MB / 0.6832 GB, free: 12.7 MB / 0.6511 GB " [Timeout remaining time 176] 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_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 1.083 GB, free: 24.02 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.211e-05, allocations: 2.281 kB / 1.083 GB, free: 24.02 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.001767/0.001789, allocations: 1.406 MB / 1.084 GB, free: 23.04 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002809, allocations: 0.9191 MB / 1.085 GB, free: 22.43 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.002845, allocations: 0 / 1.085 GB, free: 22.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.002864, allocations: 3.938 kB / 1.085 GB, free: 22.43 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.002908, allocations: 17.86 kB / 1.085 GB, free: 22.42 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.003506, allocations: 284.7 kB / 1.086 GB, free: 22.29 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.003587, allocations: 56.2 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.003622, allocations: 2.625 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.003665, allocations: 32.5 kB / 1.086 GB, free: 22.25 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.003715, allocations: 18.73 kB / 1.086 GB, free: 22.25 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003729, allocations: 2.656 kB / 1.086 GB, free: 22.25 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.004281, allocations: 497.5 kB / 1.086 GB, free: 22.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.004297, allocations: 17.64 kB / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.00432, allocations: 19.09 kB / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.004662, allocations: 348.2 kB / 1.087 GB, free: 22.04 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004664, allocations: 2.625 kB / 1.087 GB, free: 22.04 MB / 1.01 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004665, allocations: 0 / 1.087 GB, free: 22.04 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.004669, allocations: 0 / 1.087 GB, free: 22.04 MB / 1.01 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.0003534/0.005022, allocations: 364.8 kB / 1.087 GB, free: 21.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.005053, allocations: 8.469 kB / 1.087 GB, free: 21.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.005089, allocations: 3.562 kB / 1.087 GB, free: 21.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.005152, allocations: 118.9 kB / 1.087 GB, free: 21.56 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.005165, allocations: 8.375 kB / 1.087 GB, free: 21.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.005187, allocations: 5.625 kB / 1.087 GB, free: 21.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.005336, allocations: 102.7 kB / 1.087 GB, free: 21.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.005351, allocations: 3.312 kB / 1.087 GB, free: 21.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.005366, allocations: 12.05 kB / 1.087 GB, free: 21.44 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.005371, allocations: 0 / 1.087 GB, free: 21.44 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.617e-05/0.005458, allocations: 20.47 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.005616, allocations: 128.7 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.005773, allocations: 57.95 kB / 1.087 GB, free: 21.26 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.005839, allocations: 29 kB / 1.087 GB, free: 21.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.00586, allocations: 4 kB / 1.087 GB, free: 21.24 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.005877, allocations: 33.44 kB / 1.087 GB, free: 21.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005878, allocations: 0 / 1.087 GB, free: 21.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.001031/0.006909, allocations: 0.4954 MB / 1.088 GB, free: 20.86 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.006932, allocations: 57.39 kB / 1.088 GB, free: 20.79 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.006996, allocations: 129 kB / 1.088 GB, free: 20.68 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.007007, allocations: 25.7 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.007026, allocations: 88.38 kB / 1.088 GB, free: 20.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.007051, allocations: 44.58 kB / 1.088 GB, free: 20.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.007105, allocations: 37.38 kB / 1.088 GB, free: 20.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.007145, allocations: 320.7 kB / 1.089 GB, free: 20.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.007207, allocations: 46.69 kB / 1.089 GB, free: 20.16 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.007265, allocations: 56.8 kB / 1.089 GB, free: 20.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.007385, allocations: 123 kB / 1.089 GB, free: 20.07 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007386, allocations: 0 / 1.089 GB, free: 20.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000175/0.007561, allocations: 170.7 kB / 1.089 GB, free: 19.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.007571, allocations: 5.938 kB / 1.089 GB, free: 19.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.007584, allocations: 7.125 kB / 1.089 GB, free: 19.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.007599, allocations: 6.938 kB / 1.089 GB, free: 19.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.007694, allocations: 26.27 kB / 1.089 GB, free: 19.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.007697, allocations: 0 / 1.089 GB, free: 19.97 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.007726, allocations: 0 / 1.089 GB, free: 19.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.007736, allocations: 9.531 kB / 1.089 GB, free: 19.96 MB / 1.01 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 4.695e-05/0.007783, allocations: 112.5 kB / 1.089 GB, free: 19.85 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.007798, allocations: 6.703 kB / 1.089 GB, free: 19.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.00799, allocations: 133.4 kB / 1.089 GB, free: 19.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007992, allocations: 2.562 kB / 1.089 GB, free: 19.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007996, allocations: 0 / 1.089 GB, free: 19.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007999, allocations: 4 kB / 1.089 GB, free: 19.77 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.008306, allocations: 304.6 kB / 1.09 GB, free: 19.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.008308, allocations: 6.812 kB / 1.09 GB, free: 19.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.00841, allocations: 30.38 kB / 1.09 GB, free: 19.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008412, allocations: 0 / 1.09 GB, free: 19.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.008421, allocations: 6.781 kB / 1.09 GB, free: 19.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008423, allocations: 2.812 kB / 1.09 GB, free: 19.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008423, allocations: 0 / 1.09 GB, free: 19.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.008631, allocations: 233.2 kB / 1.09 GB, free: 19.33 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.008639, allocations: 10.39 kB / 1.09 GB, free: 19.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.008656, allocations: 6.531 kB / 1.09 GB, free: 19.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.008742, allocations: 4.062 kB / 1.09 GB, free: 19.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.008761, allocations: 8.25 kB / 1.09 GB, free: 19.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.00877, allocations: 6.938 kB / 1.09 GB, free: 19.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.008796, allocations: 92.75 kB / 1.09 GB, free: 19.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.008796, allocations: 3.938 kB / 1.09 GB, free: 19.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003186/0.009114, allocations: 103.8 kB / 1.09 GB, free: 19.2 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002684/0.009383, allocations: 204.9 kB / 1.09 GB, free: 19.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.009554, allocations: 121.3 kB / 1.09 GB, free: 19.01 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009556, allocations: 0 / 1.09 GB, free: 19.01 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.009607, allocations: 43.2 kB / 1.09 GB, free: 19 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.009864, allocations: 16.16 kB / 1.09 GB, free: 18.99 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.01027, allocations: 265.7 kB / 1.091 GB, free: 18.78 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.01032, allocations: 76.31 kB / 1.091 GB, free: 18.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.055e-05/0.01037, allocations: 22.08 kB / 1.091 GB, free: 18.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.0104, allocations: 20.91 kB / 1.091 GB, free: 18.69 MB / 1.01 GB Notification: Performance of SimCode: time 4.21e-07/0.0104, allocations: 0 / 1.091 GB, free: 18.69 MB / 1.01 GB Notification: Performance of Templates: time 0.006327/0.01673, allocations: 2.4 MB / 1.093 GB, free: 18.51 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.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: 10.137588441139087]