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.001347/0.001347, 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.006079/0.006079, allocations: 150.5 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.9979/0.9979, allocations: 177.1 MB / 204.9 MB, free: 5.453 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.28/2.28, allocations: 439.8 MB / 0.6848 GB, free: 12.56 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_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 4.108e-06/4.108e-06, allocations: 0 / 0.8412 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.836e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.003827/0.003865, allocations: 1.496 MB / 0.8427 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.005458, allocations: 0.9731 MB / 0.8436 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.005522, allocations: 0 / 0.8436 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.005552, allocations: 3.938 kB / 0.8436 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.005619, allocations: 3.938 kB / 0.8437 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.006541, allocations: 278.6 kB / 0.8439 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.006646, allocations: 47.8 kB / 0.844 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.006696, allocations: 7.984 kB / 0.844 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.006768, allocations: 35.89 kB / 0.844 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.006831, allocations: 15.92 kB / 0.844 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.006851, allocations: 4 kB / 0.844 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008241/0.007675, allocations: 0.5071 MB / 0.8445 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.007699, allocations: 11.98 kB / 0.8445 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.007735, allocations: 19.92 kB / 0.8445 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.008288, allocations: 358.8 kB / 0.8449 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.008293, allocations: 0 / 0.8449 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.914e-06/0.008295, allocations: 0 / 0.8449 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.008301, allocations: 0 / 0.8449 GB, free: 8.891 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.0004783/0.008779, allocations: 339.8 kB / 0.8452 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.008825, allocations: 8.031 kB / 0.8452 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.008863, allocations: 4.938 kB / 0.8452 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.008965, allocations: 113.7 kB / 0.8453 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.008978, allocations: 384 / 0.8453 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.009011, allocations: 12.38 kB / 0.8453 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.009127, allocations: 105.6 kB / 0.8454 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.009138, allocations: 4.188 kB / 0.8455 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.009148, allocations: 4.125 kB / 0.8455 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.009157, allocations: 3.938 kB / 0.8455 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.009188, allocations: 11.98 kB / 0.8455 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.009312, allocations: 76.94 kB / 0.8455 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.38e-05/0.009406, allocations: 42.62 kB / 0.8456 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.009435, allocations: 24.84 kB / 0.8456 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.009453, allocations: 0 / 0.8456 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.009479, allocations: 38.5 kB / 0.8456 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.00948, allocations: 4 kB / 0.8456 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.001165/0.01065, allocations: 471.5 kB / 0.8461 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.01068, allocations: 55.41 kB / 0.8462 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01079, allocations: 126.6 kB / 0.8463 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.01081, allocations: 33.64 kB / 0.8463 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.01085, allocations: 92.39 kB / 0.8464 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.01089, allocations: 39.59 kB / 0.8464 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.01095, allocations: 41.67 kB / 0.8465 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.01105, allocations: 322.8 kB / 0.8468 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.01109, allocations: 16 kB / 0.8468 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.01112, allocations: 23.98 kB / 0.8468 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.01122, allocations: 70.62 kB / 0.8469 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01122, allocations: 0 / 0.8469 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001453/0.01136, allocations: 97.61 kB / 0.847 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01138, allocations: 8 kB / 0.847 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.0114, allocations: 4 kB / 0.847 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01141, allocations: 0 / 0.847 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01152, allocations: 35.92 kB / 0.847 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.01153, allocations: 0 / 0.847 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.01156, allocations: 3.938 kB / 0.847 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.01156, allocations: 0 / 0.847 GB, free: 6.484 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.702e-05/0.01164, allocations: 113.8 kB / 0.8471 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.01166, allocations: 7.984 kB / 0.8471 GB, free: 6.355 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.01185, allocations: 90.03 kB / 0.8472 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01185, allocations: 3.938 kB / 0.8472 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01185, allocations: 4 kB / 0.8472 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.01186, allocations: 4 kB / 0.8472 GB, free: 6.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.01215, allocations: 230.8 kB / 0.8475 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01215, allocations: 0 / 0.8475 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.01226, allocations: 27.92 kB / 0.8475 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01226, allocations: 0 / 0.8475 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01227, allocations: 4 kB / 0.8475 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01228, allocations: 4 kB / 0.8475 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01228, allocations: 0 / 0.8475 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01247, allocations: 180.2 kB / 0.8477 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.01248, allocations: 15.97 kB / 0.8477 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.0125, allocations: 0 / 0.8477 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.01257, allocations: 8 kB / 0.8477 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.0126, allocations: 11.92 kB / 0.8477 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.01261, allocations: 3.938 kB / 0.8477 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.01263, allocations: 28.88 kB / 0.8477 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01263, allocations: 0 / 0.8477 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003944/0.01303, allocations: 115.5 kB / 0.8478 GB, free: 5.59 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.0003575/0.01339, allocations: 195.9 kB / 0.848 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.01356, allocations: 92.73 kB / 0.8481 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.01357, allocations: 7.938 kB / 0.8481 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.01361, allocations: 28.84 kB / 0.8482 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01383, allocations: 15.44 kB / 0.8482 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.01446, allocations: 251.4 kB / 0.8484 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.685e-05/0.01451, allocations: 63.34 kB / 0.8485 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.95e-05/0.01457, allocations: 24.7 kB / 0.8485 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.01465, allocations: 67.38 kB / 0.8486 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01465, allocations: 0 / 0.8486 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of Templates: time 0.006171/0.02082, allocations: 2.967 MB / 0.8515 GB, free: 1.883 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_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.140923050232232]