Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001022/0.001022, allocations: 79.75 kB / 20.08 MB, free: 4.176 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.001211/0.001211, allocations: 156.9 kB / 23.51 MB, free: 0.7539 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.9817/0.9817, allocations: 177.1 MB / 204 MB, free: 5.414 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.643/2.643, allocations: 439.8 MB / 0.6839 GB, free: 12.55 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.012e-05, allocations: 10.25 kB / 0.8403 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.002065/0.002086, allocations: 1.49 MB / 0.8418 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003409, allocations: 0.9848 MB / 0.8427 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.00348, allocations: 0 / 0.8427 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.003505, allocations: 3.938 kB / 0.8427 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.003574, allocations: 19.84 kB / 0.8427 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.004214, allocations: 262.8 kB / 0.843 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.09e-05/0.004305, allocations: 55.77 kB / 0.843 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.004341, allocations: 7.984 kB / 0.8431 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.0044, allocations: 31.91 kB / 0.8431 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.004455, allocations: 19.97 kB / 0.8431 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.004468, allocations: 0 / 0.8431 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005767/0.005044, allocations: 0.5109 MB / 0.8436 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.005064, allocations: 11.98 kB / 0.8436 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.005091, allocations: 27.91 kB / 0.8436 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.005451, allocations: 343 kB / 0.844 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005453, allocations: 0 / 0.844 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005453, allocations: 0 / 0.844 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.005458, allocations: 0 / 0.844 GB, free: 8.816 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.0003762/0.005835, allocations: 327.9 kB / 0.8443 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.005875, allocations: 12.03 kB / 0.8443 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.005907, allocations: 8.922 kB / 0.8443 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.006008, allocations: 109.8 kB / 0.8444 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.006022, allocations: 4.375 kB / 0.8444 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.006046, allocations: 8.375 kB / 0.8444 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.006151, allocations: 101.6 kB / 0.8445 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006161, allocations: 4.188 kB / 0.8445 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.00617, allocations: 4.125 kB / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.006177, allocations: 0 / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.006208, allocations: 11.94 kB / 0.8445 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.006312, allocations: 84.91 kB / 0.8446 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.006392, allocations: 46.55 kB / 0.8447 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.006414, allocations: 17.08 kB / 0.8447 GB, free: 8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.006429, allocations: 8 kB / 0.8447 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.006455, allocations: 38.5 kB / 0.8447 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.006456, allocations: 0 / 0.8447 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0009375/0.007393, allocations: 467.2 kB / 0.8452 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.007432, allocations: 59.41 kB / 0.8452 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.007518, allocations: 130.6 kB / 0.8453 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.007532, allocations: 25.7 kB / 0.8454 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.007565, allocations: 88.36 kB / 0.8455 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.0076, allocations: 39.62 kB / 0.8455 GB, free: 7.059 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.007647, allocations: 45.69 kB / 0.8455 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.007743, allocations: 322.8 kB / 0.8458 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.007771, allocations: 23.94 kB / 0.8459 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.007798, allocations: 21.88 kB / 0.8459 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/0.007868, allocations: 65.89 kB / 0.846 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007869, allocations: 0 / 0.846 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001008/0.00797, allocations: 102.7 kB / 0.846 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.007983, allocations: 7.984 kB / 0.8461 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.007997, allocations: 8 kB / 0.8461 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.008007, allocations: 0 / 0.8461 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.008082, allocations: 27.92 kB / 0.8461 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.008086, allocations: 0 / 0.8461 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.008103, allocations: 7.938 kB / 0.8461 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.00811, allocations: 0 / 0.8461 GB, free: 6.418 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 7.765e-05/0.008188, allocations: 117.8 kB / 0.8462 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.008203, allocations: 8 kB / 0.8462 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.008333, allocations: 93.97 kB / 0.8463 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.008335, allocations: 0 / 0.8463 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.008336, allocations: 3.938 kB / 0.8463 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.008341, allocations: 3.984 kB / 0.8463 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.00857, allocations: 230.8 kB / 0.8465 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008571, allocations: 0 / 0.8465 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.008641, allocations: 23.94 kB / 0.8466 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.008644, allocations: 3.984 kB / 0.8466 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.008653, allocations: 8 kB / 0.8466 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.008654, allocations: 0 / 0.8466 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.008656, allocations: 4 kB / 0.8466 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.008807, allocations: 187.4 kB / 0.8468 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-06/0.008815, allocations: 3.953 kB / 0.8468 GB, free: 5.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.008828, allocations: 8 kB / 0.8468 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.008866, allocations: 0 / 0.8468 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.008886, allocations: 11.92 kB / 0.8468 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.008894, allocations: 4 kB / 0.8468 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.02e-05/0.008915, allocations: 21.7 kB / 0.8468 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008915, allocations: 3.938 kB / 0.8468 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002495/0.009164, allocations: 107.5 kB / 0.8469 GB, free: 5.531 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002626/0.009427, allocations: 199.9 kB / 0.8471 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.009548, allocations: 97.72 kB / 0.8472 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.009552, allocations: 0 / 0.8472 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.009579, allocations: 36.66 kB / 0.8472 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.009722, allocations: 12.03 kB / 0.8472 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.01024, allocations: 252.5 kB / 0.8475 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.581e-05/0.01028, allocations: 67.28 kB / 0.8475 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.01032, allocations: 20.72 kB / 0.8476 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.01038, allocations: 71.36 kB / 0.8476 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01039, allocations: 0 / 0.8476 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of Templates: time 0.004467/0.01485, allocations: 2.975 MB / 0.8505 GB, free: 1.805 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_inv_DerivativeCheck2.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.758638707920909]