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.001469/0.001469, allocations: 80.41 kB / 20.89 MB, free: 3.395 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.006256/0.006256, allocations: 156.3 kB / 24.31 MB, free: 8.445 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.9105/0.9105, allocations: 177.2 MB / 204.8 MB, free: 5.398 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.269/2.269, allocations: 439.8 MB / 0.6846 GB, free: 12.54 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_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 1.443e-06/1.443e-06, allocations: 0 / 0.8411 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.772e-05, allocations: 2.312 kB / 0.8411 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.001782/0.0018, allocations: 1.486 MB / 0.8425 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.002779, allocations: 0.9613 MB / 0.8435 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.002809, allocations: 0 / 0.8435 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.002826, allocations: 3.938 kB / 0.8435 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.002874, allocations: 19.84 kB / 0.8435 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.003347, allocations: 262.8 kB / 0.8437 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.003413, allocations: 39.8 kB / 0.8438 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.015e-05/0.003443, allocations: 7.984 kB / 0.8438 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.003502, allocations: 23.97 kB / 0.8438 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.003546, allocations: 23.91 kB / 0.8438 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.003558, allocations: 4 kB / 0.8438 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.00408, allocations: 0.507 MB / 0.8443 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.004097, allocations: 7.984 kB / 0.8443 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.004117, allocations: 15.92 kB / 0.8443 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.00444, allocations: 342.9 kB / 0.8447 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004442, allocations: 0 / 0.8447 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004443, allocations: 0 / 0.8447 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004447, allocations: 0 / 0.8447 GB, free: 8.887 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.0002844/0.004731, allocations: 319.6 kB / 0.845 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.004761, allocations: 16.03 kB / 0.845 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.00478, allocations: 0.9375 kB / 0.845 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.974e-05/0.00485, allocations: 117.7 kB / 0.8451 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.00486, allocations: 8.375 kB / 0.8451 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.004879, allocations: 4.359 kB / 0.8451 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.856e-05/0.004948, allocations: 67.94 kB / 0.8452 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.004952, allocations: 192 / 0.8452 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004961, allocations: 4.125 kB / 0.8452 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.004965, allocations: 0 / 0.8452 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.004986, allocations: 11.94 kB / 0.8452 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.772e-05/0.005064, allocations: 61.05 kB / 0.8453 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.00519, allocations: 34.61 kB / 0.8453 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.005212, allocations: 20.94 kB / 0.8453 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.005224, allocations: 0 / 0.8453 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.00525, allocations: 34.56 kB / 0.8453 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005251, allocations: 0 / 0.8453 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004662/0.005717, allocations: 245 kB / 0.8456 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.005735, allocations: 51.41 kB / 0.8456 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.117e-05/0.005806, allocations: 145.8 kB / 0.8458 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.005815, allocations: 25.7 kB / 0.8458 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.005837, allocations: 88.12 kB / 0.8459 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.005858, allocations: 23.8 kB / 0.8459 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.00589, allocations: 29.67 kB / 0.8459 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.005957, allocations: 314.8 kB / 0.8462 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.005974, allocations: 16 kB / 0.8462 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.005992, allocations: 18.95 kB / 0.8463 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/0.006037, allocations: 48.77 kB / 0.8463 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.006038, allocations: 64 / 0.8463 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.401e-05/0.006112, allocations: 81.61 kB / 0.8464 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.006122, allocations: 12 kB / 0.8464 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.006131, allocations: 0 / 0.8464 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/0.006137, allocations: 0 / 0.8464 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.006183, allocations: 15.98 kB / 0.8464 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.006188, allocations: 3.938 kB / 0.8464 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.006201, allocations: 4 kB / 0.8464 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006206, allocations: 0 / 0.8464 GB, free: 6.918 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 4.801e-05/0.006254, allocations: 113.8 kB / 0.8465 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.006262, allocations: 7.938 kB / 0.8465 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.006349, allocations: 66.11 kB / 0.8466 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.006352, allocations: 4 kB / 0.8466 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006352, allocations: 0 / 0.8466 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.0064, allocations: 15.88 kB / 0.8466 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.006409, allocations: 0 / 0.8466 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.006429, allocations: 0 / 0.8466 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.00644, allocations: 4.328 kB / 0.8466 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.269e-05/0.006523, allocations: 132.9 kB / 0.8467 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001155/0.006638, allocations: 238.8 kB / 0.847 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.469e-05/0.006663, allocations: 12.86 kB / 0.847 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.611e-05/0.006679, allocations: 24.83 kB / 0.847 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of Backend: time 2.5e-07/0.006679, allocations: 4.031 kB / 0.847 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.007064, allocations: 247.7 kB / 0.8472 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0005347/0.007599, allocations: 0.6848 MB / 0.8479 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of Templates: time 0.003973/0.01157, allocations: 2.94 MB / 0.8508 GB, free: 2.387 MB / 0.8073 GB " [Timeout remaining time 300] 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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_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: 4.90232627093792]