Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0009204/0.0009204, allocations: 83.67 kB / 20.98 MB, free: 3.32 MB / 18.57 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.006125/0.006125, allocations: 150.9 kB / 24.44 MB, free: 9.215 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 0.945/0.945, allocations: 177.2 MB / 204.9 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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 2.334/2.334, allocations: 439.8 MB / 0.6848 GB, free: 12.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8412 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.55e-05, allocations: 6.25 kB / 0.8412 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.003188/0.003213, allocations: 1.489 MB / 0.8427 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004675, allocations: 0.9808 MB / 0.8437 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.004728, allocations: 0 / 0.8437 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.004752, allocations: 3.938 kB / 0.8437 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.004816, allocations: 15.86 kB / 0.8437 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.005592, allocations: 266.7 kB / 0.8439 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.005681, allocations: 47.78 kB / 0.844 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.005721, allocations: 7.984 kB / 0.844 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.104e-05/0.005802, allocations: 27.91 kB / 0.844 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.215e-05/0.005854, allocations: 11.98 kB / 0.844 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.005869, allocations: 4 kB / 0.844 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.006673, allocations: 0.5109 MB / 0.8445 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.006696, allocations: 7.984 kB / 0.8445 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.00672, allocations: 15.94 kB / 0.8445 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.007197, allocations: 335 kB / 0.8449 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.007202, allocations: 4 kB / 0.8449 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007203, allocations: 0 / 0.8449 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.007206, allocations: 4 kB / 0.8449 GB, free: 8.918 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004143/0.007621, allocations: 319.5 kB / 0.8452 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.007654, allocations: 12.03 kB / 0.8452 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.007684, allocations: 4.938 kB / 0.8452 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.007783, allocations: 113.8 kB / 0.8453 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.007796, allocations: 4.312 kB / 0.8453 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.007821, allocations: 4.375 kB / 0.8453 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.007912, allocations: 67.92 kB / 0.8454 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.007919, allocations: 192 / 0.8454 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.00793, allocations: 8.125 kB / 0.8454 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.007939, allocations: 4 kB / 0.8454 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.00796, allocations: 4 kB / 0.8454 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.839e-05/0.008059, allocations: 64.98 kB / 0.8454 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.00822, allocations: 42.53 kB / 0.8455 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.008242, allocations: 12.86 kB / 0.8455 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.008258, allocations: 8.078 kB / 0.8455 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.008284, allocations: 30.56 kB / 0.8455 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.008285, allocations: 3.938 kB / 0.8455 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0006065/0.008892, allocations: 229.2 kB / 0.8458 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.008926, allocations: 55.34 kB / 0.8458 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.009019, allocations: 144.8 kB / 0.846 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.009032, allocations: 25.7 kB / 0.846 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.009064, allocations: 84.12 kB / 0.8461 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.009092, allocations: 23.84 kB / 0.8461 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.009138, allocations: 29.69 kB / 0.8461 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.009233, allocations: 326.8 kB / 0.8464 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.009258, allocations: 12 kB / 0.8464 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.468e-05/0.009283, allocations: 12 kB / 0.8464 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.009354, allocations: 56.7 kB / 0.8465 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009355, allocations: 0 / 0.8465 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001139/0.009469, allocations: 77.73 kB / 0.8466 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.009485, allocations: 10.34 kB / 0.8466 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.009498, allocations: 4 kB / 0.8466 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.009508, allocations: 0 / 0.8466 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.009573, allocations: 15.94 kB / 0.8466 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.009577, allocations: 3.938 kB / 0.8466 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.009599, allocations: 0 / 0.8466 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.009608, allocations: 3.984 kB / 0.8466 GB, free: 6.953 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 (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 7.199e-05/0.00968, allocations: 113.8 kB / 0.8467 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.009692, allocations: 4 kB / 0.8467 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.009815, allocations: 62.11 kB / 0.8468 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009818, allocations: 8 kB / 0.8468 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.009821, allocations: 3.938 kB / 0.8468 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009824, allocations: 0 / 0.8468 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.01007, allocations: 211.6 kB / 0.847 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01007, allocations: 336 / 0.847 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.01014, allocations: 19.92 kB / 0.847 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01014, allocations: 0 / 0.847 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01015, allocations: 0 / 0.847 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01015, allocations: 7.938 kB / 0.847 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01016, allocations: 0 / 0.847 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.01031, allocations: 164.4 kB / 0.8472 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.01033, allocations: 19.98 kB / 0.8472 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.01035, allocations: 7.922 kB / 0.8472 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.21e-05/0.01041, allocations: 4.125 kB / 0.8472 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.01043, allocations: 4 kB / 0.8472 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01044, allocations: 4 kB / 0.8472 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.401e-05/0.01046, allocations: 20.84 kB / 0.8472 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01046, allocations: 3.938 kB / 0.8472 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003343/0.01079, allocations: 75.67 kB / 0.8473 GB, free: 6.168 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002839/0.01108, allocations: 172.1 kB / 0.8475 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01121, allocations: 70.52 kB / 0.8475 GB, free: 5.914 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.01121, allocations: 4 kB / 0.8475 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.01124, allocations: 20.8 kB / 0.8476 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01146, allocations: 10.42 kB / 0.8476 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.01202, allocations: 209.5 kB / 0.8478 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.706e-05/0.01207, allocations: 59.34 kB / 0.8478 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.005e-05/0.01211, allocations: 11.98 kB / 0.8478 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.01218, allocations: 63.36 kB / 0.8479 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01218, allocations: 0 / 0.8479 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of Templates: time 0.005184/0.01736, allocations: 2.303 MB / 0.8502 GB, free: 3.234 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_inv_DerivativeCheck.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.070177002809942]