Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.0008773/0.0008773, allocations: 81.41 kB / 20.03 MB, free: 4.492 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.0007734/0.0007734, allocations: 177.9 kB / 23.34 MB, free: 1.184 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.897/0.897, allocations: 177.1 MB / 203.7 MB, free: 5.703 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 1.766/1.766, allocations: 390.1 MB / 0.635 GB, free: 11.56 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.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.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.838e-05, allocations: 5.266 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001815/0.001844, allocations: 1.368 MB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.002728, allocations: 0.845 MB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.002768, allocations: 0 / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.00279, allocations: 3.938 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.002868, allocations: 7.922 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.003339, allocations: 214.9 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.398e-05/0.003413, allocations: 39.8 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.003459, allocations: 3.984 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.003501, allocations: 19.92 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.003551, allocations: 15.98 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.003564, allocations: 4 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.003943, allocations: 371.5 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.003962, allocations: 7.984 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.003985, allocations: 15.92 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.004299, allocations: 295.1 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.004303, allocations: 4 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.944e-06/0.004305, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.00431, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004129/0.004723, allocations: 333.4 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.004764, allocations: 12.62 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.004953, allocations: 16.91 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.005062, allocations: 125.7 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.005078, allocations: 4.375 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.005086, allocations: 384 / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.005204, allocations: 50.17 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005212, allocations: 192 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.005222, allocations: 4.312 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005227, allocations: 384 / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.005287, allocations: 19.92 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.005427, allocations: 113.3 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.005518, allocations: 42.55 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.005552, allocations: 12.92 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.005568, allocations: 0 / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.005592, allocations: 42.5 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005593, allocations: 0 / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002085/0.005802, allocations: 65.61 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.005833, allocations: 51.41 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.005916, allocations: 130 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005928, allocations: 33.83 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.005963, allocations: 84.09 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.005982, allocations: 11.89 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.006015, allocations: 25.7 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.006105, allocations: 314.8 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.006165, allocations: 19.98 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.006203, allocations: 23.98 kB / 1.008 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.006287, allocations: 52.77 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.00629, allocations: 0 / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001191/0.006409, allocations: 89.61 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006421, allocations: 4 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.006438, allocations: 7.984 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.006451, allocations: 0 / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.006877, allocations: 79.88 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.008068, allocations: 1.376 MB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.008096, allocations: 16.08 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.008105, allocations: 3.984 kB / 1.009 GB, free: 4.199 MB / 0.9636 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.008171, allocations: 113.8 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.008178, allocations: 7.891 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-06/0.008187, allocations: 3.625 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008189, allocations: 4 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.008193, allocations: 4 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.008195, allocations: 0 / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.008517, allocations: 109.3 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.008519, allocations: 0 / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.008954, allocations: 111.8 kB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.008956, allocations: 0 / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.008965, allocations: 7.922 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000956/0.009921, allocations: 1.365 MB / 1.011 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009923, allocations: 8.094 kB / 1.011 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.491e-05/0.01002, allocations: 89.03 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.01002, allocations: 0 / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-06/0.01003, allocations: 4 kB / 1.011 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.01005, allocations: 3.984 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.01007, allocations: 4 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.01007, allocations: 0 / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.01011, allocations: 94.39 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01011, allocations: 0 / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00017/0.01028, allocations: 27.97 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001615/0.01044, allocations: 119.2 kB / 1.011 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.01096, allocations: 149.5 kB / 1.011 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01096, allocations: 8 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.0114, allocations: 107.8 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01163, allocations: 23.97 kB / 1.011 GB, free: 1.688 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.01197, allocations: 160.2 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.01201, allocations: 75.2 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.675e-05/0.01203, allocations: 8.594 kB / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of SimCode: time 6.32e-07/0.01203, allocations: 0 / 1.012 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of Templates: time 0.002175/0.01421, allocations: 1.149 MB / 1.013 GB, free: 260 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.783189770765603]