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.001403/0.001403, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00267/0.004073, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001723/0.001723, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002337/0.00406, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.109/1.109, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1125/1.221, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 2.419/2.419, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2421/2.661, allocations: 145.9 MB / 0.817 GB, free: 4.223 MB / 0.7917 GB " [Timeout remaining time 177] 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.863e-06/1.863e-06, allocations: 0 / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.358e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.001565/0.001578, allocations: 1.491 MB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.002511, allocations: 0.9809 MB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.002544, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.002555, allocations: 3.938 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.923e-05/0.002584, allocations: 11.91 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.00305, allocations: 262.8 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.00313, allocations: 59.7 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.003165, allocations: 7.984 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.003241, allocations: 31.97 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.003295, allocations: 19.91 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.003308, allocations: 7.938 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.003852, allocations: 0.507 MB / 0.8217 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.003871, allocations: 11.94 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.003894, allocations: 8 kB / 0.8217 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.004214, allocations: 307.1 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.004228, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004229, allocations: 0 / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.004243, allocations: 3.984 kB / 0.822 GB, free: 15.12 MB / 0.8073 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.00039/0.004633, allocations: 363.5 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.004664, allocations: 8.625 kB / 0.8223 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.004695, allocations: 8.922 kB / 0.8223 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.00478, allocations: 117.6 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.004791, allocations: 12.36 kB / 0.8225 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.004815, allocations: 8.359 kB / 0.8225 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.004924, allocations: 101.6 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.004933, allocations: 192 / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.004941, allocations: 4.125 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004947, allocations: 4 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.004976, allocations: 8 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.701e-05/0.005073, allocations: 76.92 kB / 0.8226 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.005156, allocations: 54.56 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.005177, allocations: 12.86 kB / 0.8227 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.005197, allocations: 4 kB / 0.8227 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.005218, allocations: 30.56 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.005219, allocations: 4 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0008386/0.006057, allocations: 470.1 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.006084, allocations: 55.41 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.006158, allocations: 126.6 kB / 0.8234 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.00617, allocations: 33.7 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.006197, allocations: 88.41 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.006227, allocations: 43.58 kB / 0.8235 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.006264, allocations: 37.67 kB / 0.8236 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.006334, allocations: 322.8 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.006357, allocations: 20 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.006378, allocations: 20 kB / 0.8239 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.006439, allocations: 66.81 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.00644, allocations: 4 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.577e-05/0.006536, allocations: 108.2 kB / 0.8241 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.006547, allocations: 11.98 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.006557, allocations: 0 / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.006564, allocations: 4 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.006631, allocations: 23.98 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.006634, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.006651, allocations: 3.938 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.006659, allocations: 8 kB / 0.8241 GB, free: 12.7 MB / 0.8073 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 5.216e-05/0.006711, allocations: 113.8 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.006722, allocations: 11.94 kB / 0.8243 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.006847, allocations: 82.03 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.006849, allocations: 8 kB / 0.8243 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00685, allocations: 0 / 0.8243 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.006854, allocations: 3.984 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.007066, allocations: 234.7 kB / 0.8246 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007067, allocations: 0 / 0.8246 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.007136, allocations: 24 kB / 0.8246 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/0.007145, allocations: 11.94 kB / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007147, allocations: 0 / 0.8246 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.007155, allocations: 8 kB / 0.8246 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007157, allocations: 3.938 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007158, allocations: 3.938 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.007294, allocations: 184.2 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.007306, allocations: 4 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.87e-05/0.007345, allocations: 4 kB / 0.8248 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.007361, allocations: 7.922 kB / 0.8248 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.007369, allocations: 8 kB / 0.8248 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.798e-05/0.007387, allocations: 24.88 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007387, allocations: 0 / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002414/0.007628, allocations: 107.5 kB / 0.8249 GB, free: 11.81 MB / 0.8073 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.0002493/0.007878, allocations: 211.8 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.007997, allocations: 98.44 kB / 0.8252 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.008005, allocations: 4 kB / 0.8252 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.008031, allocations: 28.83 kB / 0.8253 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.008173, allocations: 16 kB / 0.8253 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.008972, allocations: 208.9 kB / 0.8255 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.009007, allocations: 71.34 kB / 0.8255 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.009045, allocations: 16.72 kB / 0.8256 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.009104, allocations: 71.36 kB / 0.8256 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of SimCode: time 6.62e-07/0.009105, allocations: 0 / 0.8256 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.004034/0.01314, allocations: 2.992 MB / 0.8286 GB, free: 8.09 MB / 0.8073 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 -ignoreHideResult -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: 5.413329559378326]