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_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.002536/0.002536, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002909/0.002909, allocations: 218.3 kB / 22.25 MB, free: 3.57 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.691/1.691, allocations: 230.6 MB / 256 MB, free: 9.609 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.101/4.101, allocations: 0.5707 GB / 0.8759 GB, free: 16.38 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.01676/0.01676, allocations: 78.06 kB / 1.276 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4797, allocations: 196.8 MB / 1.468 GB, free: 2.625 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.0032/0.4829, allocations: 1.394 MB / 1.469 GB, free: 1.215 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.4846, allocations: 0.9052 MB / 1.47 GB, free: 312 kB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.4846, allocations: 0 / 1.47 GB, free: 312 kB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.4846, allocations: 7.938 kB / 1.47 GB, free: 304 kB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.4847, allocations: 11.91 kB / 1.47 GB, free: 292 kB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.4855, allocations: 282.8 kB / 1.47 GB, free: 8 kB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.4856, allocations: 43.84 kB / 1.47 GB, free: 15.96 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.4857, allocations: 11.92 kB / 1.47 GB, free: 15.95 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.4857, allocations: 15.94 kB / 1.47 GB, free: 15.94 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.4858, allocations: 19.92 kB / 1.47 GB, free: 15.92 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.4858, allocations: 7.938 kB / 1.47 GB, free: 15.91 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008577/0.4867, allocations: 495.3 kB / 1.471 GB, free: 15.43 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.4867, allocations: 7.984 kB / 1.471 GB, free: 15.42 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.4867, allocations: 15.94 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.4872, allocations: 295.2 kB / 1.471 GB, free: 15.11 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4872, allocations: 0 / 1.471 GB, free: 15.11 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4872, allocations: 3.938 kB / 1.471 GB, free: 15.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.4872, allocations: 4 kB / 1.471 GB, free: 15.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005511/0.4878, allocations: 358.6 kB / 1.472 GB, free: 14.73 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4878, allocations: 11.98 kB / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.4879, allocations: 8.891 kB / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.488, allocations: 110.5 kB / 1.472 GB, free: 14.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.488, allocations: 384 / 1.472 GB, free: 14.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.488, allocations: 8.359 kB / 1.472 GB, free: 14.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4882, allocations: 71.52 kB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4882, allocations: 0 / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4882, allocations: 4 kB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4882, allocations: 4 kB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.4882, allocations: 8 kB / 1.472 GB, free: 14.47 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.4884, allocations: 125.1 kB / 1.472 GB, free: 14.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.4886, allocations: 50.59 kB / 1.472 GB, free: 14.26 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.4887, allocations: 20.94 kB / 1.472 GB, free: 14.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4887, allocations: 4 kB / 1.472 GB, free: 14.23 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.4887, allocations: 30.56 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4887, allocations: 0 / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=6): time 0.0007147/0.4894, allocations: 261.1 kB / 1.472 GB, free: 13.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.4895, allocations: 55.34 kB / 1.472 GB, free: 13.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4896, allocations: 129.6 kB / 1.472 GB, free: 13.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4896, allocations: 25.7 kB / 1.472 GB, free: 13.67 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.4897, allocations: 96.08 kB / 1.473 GB, free: 13.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.4897, allocations: 19.8 kB / 1.473 GB, free: 13.55 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.4898, allocations: 29.7 kB / 1.473 GB, free: 13.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.49, allocations: 318.8 kB / 1.473 GB, free: 13.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.49, allocations: 39.91 kB / 1.473 GB, free: 13.16 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.4901, allocations: 35.98 kB / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4902, allocations: 72.8 kB / 1.473 GB, free: 13.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4902, allocations: 0 / 1.473 GB, free: 13.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003012/0.4905, allocations: 128.3 kB / 1.473 GB, free: 12.92 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4905, allocations: 7.938 kB / 1.473 GB, free: 12.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.4906, allocations: 4 kB / 1.473 GB, free: 12.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4906, allocations: 0 / 1.473 GB, free: 12.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4907, allocations: 16.06 kB / 1.473 GB, free: 12.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4907, allocations: 0 / 1.473 GB, free: 12.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.4907, allocations: 0 / 1.473 GB, free: 12.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.4907, allocations: 11.98 kB / 1.473 GB, free: 12.88 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 (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.0001422/0.4909, allocations: 109.8 kB / 1.473 GB, free: 12.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.4909, allocations: 11.89 kB / 1.473 GB, free: 12.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.4912, allocations: 97.92 kB / 1.473 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4912, allocations: 0 / 1.473 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4912, allocations: 0 / 1.473 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4912, allocations: 0 / 1.473 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.4916, allocations: 279 kB / 1.474 GB, free: 12.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4916, allocations: 3.938 kB / 1.474 GB, free: 12.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.4916, allocations: 12 kB / 1.474 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4916, allocations: 3.984 kB / 1.474 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.4916, allocations: 4 kB / 1.474 GB, free: 12.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4916, allocations: 0 / 1.474 GB, free: 12.31 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4916, allocations: 0 / 1.474 GB, free: 12.31 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.4919, allocations: 188.4 kB / 1.474 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.4919, allocations: 15.97 kB / 1.474 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.492, allocations: 0 / 1.474 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.492, allocations: 4 kB / 1.474 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.4921, allocations: 7.922 kB / 1.474 GB, free: 12.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4921, allocations: 4.188 kB / 1.474 GB, free: 12.08 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.871e-05/0.4921, allocations: 95.27 kB / 1.474 GB, free: 11.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 8e-08/0.4921, allocations: 0 / 1.474 GB, free: 11.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003152/0.4925, allocations: 67.73 kB / 1.474 GB, free: 11.92 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0003475/0.4928, allocations: 166.9 kB / 1.474 GB, free: 11.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.493, allocations: 93.62 kB / 1.474 GB, free: 11.65 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.493, allocations: 0 / 1.474 GB, free: 11.65 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.4931, allocations: 19.98 kB / 1.474 GB, free: 11.63 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.4933, allocations: 7.938 kB / 1.474 GB, free: 11.62 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.4939, allocations: 225 kB / 1.475 GB, free: 11.38 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.494, allocations: 75.27 kB / 1.475 GB, free: 11.28 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.494, allocations: 16.28 kB / 1.475 GB, free: 11.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.494, allocations: 11.44 kB / 1.475 GB, free: 11.25 MB / 1.151 GB Notification: Performance of SimCode: time 4.3e-07/0.494, allocations: 4 kB / 1.475 GB, free: 11.25 MB / 1.151 GB Notification: Performance of Templates: time 0.005893/0.4999, allocations: 1.853 MB / 1.476 GB, free: 9.441 MB / 1.151 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_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: 11.06383937294595]