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.002111/0.002111, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002243/0.002243, allocations: 222.3 kB / 22.25 MB, free: 3.578 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.736/1.736, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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 4.219/4.219, allocations: 0.5708 GB / 0.8759 GB, free: 16.37 MB / 0.6667 GB " [Timeout remaining time 175] 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 0.003852/0.003852, allocations: 81.47 kB / 1.276 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4765, allocations: 196.8 MB / 1.468 GB, free: 2.617 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.002863/0.4793, allocations: 1.396 MB / 1.469 GB, free: 1.203 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.4812, allocations: 0.9169 MB / 1.47 GB, free: 288 kB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.4813, allocations: 0 / 1.47 GB, free: 288 kB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.4813, allocations: 3.938 kB / 1.47 GB, free: 284 kB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.4814, allocations: 7.922 kB / 1.47 GB, free: 276 kB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4824, allocations: 292.9 kB / 1.47 GB, free: 15.98 MB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.4825, allocations: 51.84 kB / 1.47 GB, free: 15.93 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.4826, allocations: 3.938 kB / 1.47 GB, free: 15.93 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.4827, allocations: 27.91 kB / 1.47 GB, free: 15.9 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 7.791e-05/0.4827, allocations: 23.86 kB / 1.47 GB, free: 15.88 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.4827, allocations: 4 kB / 1.47 GB, free: 15.88 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009124/0.4837, allocations: 495.3 kB / 1.471 GB, free: 15.39 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.4837, allocations: 15.97 kB / 1.471 GB, free: 15.38 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.4837, allocations: 23.86 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.4843, allocations: 307.1 kB / 1.471 GB, free: 15.05 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4843, allocations: 0 / 1.471 GB, free: 15.05 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4843, allocations: 0 / 1.471 GB, free: 15.05 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4843, allocations: 4 kB / 1.471 GB, free: 15.05 MB / 1.151 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.0005737/0.4849, allocations: 355 kB / 1.472 GB, free: 14.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4849, allocations: 8.031 kB / 1.472 GB, free: 14.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.485, allocations: 12.89 kB / 1.472 GB, free: 14.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4851, allocations: 114.5 kB / 1.472 GB, free: 14.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4851, allocations: 8.375 kB / 1.472 GB, free: 14.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.4852, allocations: 4.375 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.4854, allocations: 109.2 kB / 1.472 GB, free: 14.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4854, allocations: 0 / 1.472 GB, free: 14.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4854, allocations: 0 / 1.472 GB, free: 14.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4854, allocations: 0 / 1.472 GB, free: 14.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.4854, allocations: 23.92 kB / 1.472 GB, free: 14.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.4856, allocations: 133.2 kB / 1.472 GB, free: 14.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.4858, allocations: 62.55 kB / 1.472 GB, free: 14.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.4858, allocations: 32.84 kB / 1.472 GB, free: 14.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4859, allocations: 7.922 kB / 1.472 GB, free: 14.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.4859, allocations: 38.56 kB / 1.472 GB, free: 14.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.4859, allocations: 0 / 1.472 GB, free: 14.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.00134/0.4873, allocations: 495.2 kB / 1.473 GB, free: 13.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4873, allocations: 55.39 kB / 1.473 GB, free: 13.43 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4874, allocations: 129.8 kB / 1.473 GB, free: 13.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4874, allocations: 25.7 kB / 1.473 GB, free: 13.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.4875, allocations: 100.6 kB / 1.473 GB, free: 13.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.4876, allocations: 35.66 kB / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.4876, allocations: 41.7 kB / 1.473 GB, free: 13.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4878, allocations: 314.8 kB / 1.473 GB, free: 12.76 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.4879, allocations: 51.98 kB / 1.473 GB, free: 12.71 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.488, allocations: 51.98 kB / 1.473 GB, free: 12.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.4881, allocations: 118.8 kB / 1.473 GB, free: 12.54 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4881, allocations: 3.938 kB / 1.473 GB, free: 12.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003708/0.4885, allocations: 169.6 kB / 1.474 GB, free: 12.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4885, allocations: 9.719 kB / 1.474 GB, free: 12.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4885, allocations: 4 kB / 1.474 GB, free: 12.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4886, allocations: 0 / 1.474 GB, free: 12.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.4887, allocations: 23.98 kB / 1.474 GB, free: 12.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.4887, allocations: 0 / 1.474 GB, free: 12.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.4887, allocations: 4 kB / 1.474 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.4887, allocations: 4 kB / 1.474 GB, free: 12.32 MB / 1.151 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 0.0001025/0.4888, allocations: 117.8 kB / 1.474 GB, free: 12.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.4888, allocations: 11.89 kB / 1.474 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.4891, allocations: 126 kB / 1.474 GB, free: 12.05 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4891, allocations: 8 kB / 1.474 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4891, allocations: 0 / 1.474 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4891, allocations: 3.984 kB / 1.474 GB, free: 12.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.4895, allocations: 318.1 kB / 1.474 GB, free: 11.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4895, allocations: 0 / 1.474 GB, free: 11.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.4897, allocations: 23.98 kB / 1.474 GB, free: 11.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4897, allocations: 0 / 1.474 GB, free: 11.67 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4897, allocations: 4 kB / 1.474 GB, free: 11.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4897, allocations: 4 kB / 1.474 GB, free: 11.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4897, allocations: 96 / 1.474 GB, free: 11.66 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.49, allocations: 252 kB / 1.475 GB, free: 11.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.49, allocations: 3.953 kB / 1.475 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4901, allocations: 8.016 kB / 1.475 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.4901, allocations: 0 / 1.475 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.4902, allocations: 11.98 kB / 1.475 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4902, allocations: 4 kB / 1.475 GB, free: 11.37 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.4903, allocations: 95.31 kB / 1.475 GB, free: 11.28 MB / 1.151 GB Notification: Performance of sort global known variables: time 8e-08/0.4903, allocations: 0 / 1.475 GB, free: 11.28 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003824/0.4906, allocations: 103.5 kB / 1.475 GB, free: 11.18 MB / 1.151 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.0003859/0.491, allocations: 198.7 kB / 1.475 GB, free: 10.97 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4913, allocations: 127.9 kB / 1.475 GB, free: 10.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4913, allocations: 0 / 1.475 GB, free: 10.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.4914, allocations: 39.92 kB / 1.475 GB, free: 10.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4916, allocations: 15.2 kB / 1.475 GB, free: 10.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.4923, allocations: 314.1 kB / 1.475 GB, free: 10.46 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.4924, allocations: 87.33 kB / 1.475 GB, free: 10.35 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.703e-05/0.4925, allocations: 16.66 kB / 1.475 GB, free: 10.34 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.4925, allocations: 15.44 kB / 1.476 GB, free: 10.32 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/0.4925, allocations: 0 / 1.476 GB, free: 10.32 MB / 1.151 GB Notification: Performance of Templates: time 0.00659/0.4991, allocations: 2.435 MB / 1.478 GB, free: 7.93 MB / 1.151 GB " [Timeout remaining time 299] 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: 11.307214032160118]