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.002503/0.002503, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003076/0.003076, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.436/3.436, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] 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.423e-06/1.423e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.117e-05, allocations: 5.266 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.002701/0.002732, allocations: 1.379 MB / 0.8788 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.00437, allocations: 0.9031 MB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.004405, allocations: 0 / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.004423, allocations: 0 / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.004508, allocations: 8.969 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.005163, allocations: 213 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.005253, allocations: 32.58 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.005291, allocations: 5.562 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.005347, allocations: 19.92 kB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.005396, allocations: 11.98 kB / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.005412, allocations: 0 / 0.88 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006683/0.00608, allocations: 383.4 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.006099, allocations: 9.453 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.00613, allocations: 12 kB / 0.8804 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.006628, allocations: 291.2 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006631, allocations: 0 / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006631, allocations: 0.875 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.006636, allocations: 0 / 0.8806 GB, free: 3.395 MB / 0.8386 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.0005826/0.007218, allocations: 444.4 kB / 0.8811 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.007257, allocations: 11.97 kB / 0.8811 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.007523, allocations: 30.28 kB / 0.8811 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.007672, allocations: 116.6 kB / 0.8812 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.007698, allocations: 8.375 kB / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.007709, allocations: 384 / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.007843, allocations: 41.56 kB / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.007851, allocations: 192 / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.007861, allocations: 384 / 0.8813 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.007868, allocations: 4.359 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.007967, allocations: 19.94 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.008152, allocations: 124.6 kB / 0.8814 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.008308, allocations: 46.98 kB / 0.8814 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.008372, allocations: 24.95 kB / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.008394, allocations: 3.984 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.008434, allocations: 37.39 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.008435, allocations: 1.094 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002916/0.008726, allocations: 57.64 kB / 0.8816 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.008779, allocations: 63.47 kB / 0.8816 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.008955, allocations: 192.3 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.008978, allocations: 25.7 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.009066, allocations: 134.8 kB / 0.882 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.009089, allocations: 11.95 kB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.009148, allocations: 31.36 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003627/0.009511, allocations: 492.1 kB / 0.8825 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.009616, allocations: 19.98 kB / 0.8825 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.806e-05/0.009694, allocations: 20 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.009841, allocations: 43.78 kB / 0.8826 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009843, allocations: 4 kB / 0.8826 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002104/0.01005, allocations: 93.48 kB / 0.8826 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01007, allocations: 4 kB / 0.8827 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.01008, allocations: 0 / 0.8827 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.0101, allocations: 4 kB / 0.8827 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007802/0.01088, allocations: 55.92 kB / 0.8827 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.01331, allocations: 1.911 MB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.01336, allocations: 3.953 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.01338, allocations: 7.984 kB / 0.8846 GB, free: 15.04 MB / 0.8542 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 0.0001326/0.01351, allocations: 152.6 kB / 0.8847 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.01354, allocations: 12.02 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.01356, allocations: 11.62 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.01356, allocations: 0 / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.12e-07/0.01356, allocations: 0 / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01356, allocations: 0 / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.01369, allocations: 120.6 kB / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01369, allocations: 0 / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008907/0.01458, allocations: 75.91 kB / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.01459, allocations: 0 / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.0146, allocations: 3.938 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.01684, allocations: 1.908 MB / 0.8868 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01684, allocations: 0 / 0.8868 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.01703, allocations: 96.27 kB / 0.8869 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.01704, allocations: 4 kB / 0.8869 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.01705, allocations: 4 kB / 0.8869 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.01709, allocations: 7.922 kB / 0.8869 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.01712, allocations: 0 / 0.8869 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.01713, allocations: 4 kB / 0.8869 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001016/0.01723, allocations: 139.2 kB / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01723, allocations: 0 / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002475/0.01748, allocations: 28 kB / 0.8871 GB, free: 12.29 MB / 0.8542 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.0002229/0.0177, allocations: 119.2 kB / 0.8872 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009627/0.01866, allocations: 129.3 kB / 0.8873 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01867, allocations: 3.938 kB / 0.8873 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009705/0.01964, allocations: 95.59 kB / 0.8874 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.01985, allocations: 18.42 kB / 0.8874 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.02029, allocations: 138.2 kB / 0.8876 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.54e-05/0.02037, allocations: 71.27 kB / 0.8876 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.056e-05/0.02039, allocations: 0 / 0.8876 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.02041, allocations: 8.5 kB / 0.8876 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.02041, allocations: 4 kB / 0.8876 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.004926/0.02534, allocations: 1.438 MB / 0.889 GB, free: 10.23 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 240] 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: 8.616869406076148]