Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001458/0.001458, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001761/0.001761, allocations: 213.8 kB / 22.24 MB, free: 5.242 MB / 14.72 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.385/3.385, allocations: 0.5056 GB / 0.8107 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.31 kB / 1.179 GB, free: 16.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4092, allocations: 180.5 MB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002731/0.4119, allocations: 1.361 MB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4135, allocations: 0.8598 MB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.4135, allocations: 0 / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.4135, allocations: 7.938 kB / 1.357 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.4136, allocations: 11.91 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.4143, allocations: 213 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.4144, allocations: 47.78 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.4144, allocations: 4 kB / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.4145, allocations: 23.86 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.4146, allocations: 19.91 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.4146, allocations: 4 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.4153, allocations: 371.5 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.4153, allocations: 11.94 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.4153, allocations: 19.92 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.4158, allocations: 267.2 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4158, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4158, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4158, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 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.0005666/0.4164, allocations: 345.2 kB / 1.358 GB, free: 2.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4164, allocations: 15.98 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.4167, allocations: 20.91 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4168, allocations: 118.5 kB / 1.358 GB, free: 2.324 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.4168, allocations: 8.375 kB / 1.358 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.4169, allocations: 4.375 kB / 1.358 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4171, allocations: 75.92 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4171, allocations: 8.109 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4171, allocations: 3.938 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4171, allocations: 4 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4172, allocations: 19.98 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.4174, allocations: 125.3 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.4178, allocations: 62.55 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.4179, allocations: 24.94 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.4179, allocations: 4 kB / 1.359 GB, free: 1.938 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.4179, allocations: 34.5 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4179, allocations: 0 / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.002396/0.4203, allocations: 416.8 kB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.4204, allocations: 51.41 kB / 1.359 GB, free: 1.391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4205, allocations: 126.1 kB / 1.359 GB, free: 1.254 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4205, allocations: 25.7 kB / 1.359 GB, free: 1.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.4206, allocations: 88.14 kB / 1.359 GB, free: 1.133 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.4206, allocations: 19.78 kB / 1.359 GB, free: 1.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.4207, allocations: 33.7 kB / 1.36 GB, free: 1.074 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4208, allocations: 322.8 kB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.421, allocations: 43.97 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4212, allocations: 46.36 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.4215, allocations: 104.8 kB / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4215, allocations: 0 / 1.36 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004041/0.4219, allocations: 151.8 kB / 1.36 GB, free: 416 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4219, allocations: 4 kB / 1.36 GB, free: 412 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4219, allocations: 15.88 kB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4219, allocations: 0 / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.4221, allocations: 15.98 kB / 1.36 GB, free: 380 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4221, allocations: 3.938 kB / 1.36 GB, free: 376 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4222, allocations: 7.984 kB / 1.36 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.4222, allocations: 8 kB / 1.36 GB, free: 360 kB / 1.045 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.0001026/0.4223, allocations: 109.8 kB / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.4223, allocations: 3.953 kB / 1.36 GB, free: 236 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.713e-05/0.4224, allocations: 12.31 kB / 1.36 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.4224, allocations: 8 kB / 1.36 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4224, allocations: 0 / 1.36 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4224, allocations: 7.922 kB / 1.36 GB, free: 204 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/0.4233, allocations: 307.1 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4233, allocations: 3.938 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.4234, allocations: 19.92 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4234, allocations: 0 / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4235, allocations: 7.984 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4235, allocations: 4.031 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4235, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.424, allocations: 236.3 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.4241, allocations: 16.42 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4241, allocations: 4 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4242, allocations: 7.984 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.4243, allocations: 4 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4243, allocations: 11.97 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.064e-05/0.4243, allocations: 101.1 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4243, allocations: 4 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002819/0.4246, allocations: 23.94 kB / 1.361 GB, free: 15.41 MB / 1.061 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.0002023/0.4248, allocations: 115.2 kB / 1.361 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.4252, allocations: 117.6 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4252, allocations: 0 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.4254, allocations: 35.92 kB / 1.361 GB, free: 15.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4257, allocations: 15.98 kB / 1.361 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4267, allocations: 264.7 kB / 1.362 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.241e-05/0.4268, allocations: 71.2 kB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.963e-05/0.4269, allocations: 11.98 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.427, allocations: 11.44 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.427, allocations: 0 / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of Templates: time 0.006175/0.4331, allocations: 1.839 MB / 1.363 GB, free: 12.9 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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: 9.588576074689627]