Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.001293/0.001293, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001507/0.001507, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9549/0.9549, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.048/2.048, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] 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.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") translateModel(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8793 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.813e-05, allocations: 4.844 kB / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001649/0.001667, allocations: 1.292 MB / 0.8806 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.0232, allocations: 22.39 MB / 0.9025 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.02324, allocations: 3.938 kB / 0.9025 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.02327, allocations: 3.938 kB / 0.9025 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.02357, allocations: 43.77 kB / 0.9025 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.02357, allocations: 4 kB / 0.9025 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.02364, allocations: 23.86 kB / 0.9025 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/0.0237, allocations: 3.984 kB / 0.9025 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.02374, allocations: 11.94 kB / 0.9026 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.02379, allocations: 7.984 kB / 0.9026 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.02381, allocations: 0 / 0.9026 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/0.04203, allocations: 10.13 MB / 0.9125 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.04204, allocations: 8 kB / 0.9125 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.04207, allocations: 3.938 kB / 0.9125 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.04221, allocations: 39.84 kB / 0.9125 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.04222, allocations: 3.984 kB / 0.9125 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.04222, allocations: 0 / 0.9125 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.04223, allocations: 0 / 0.9125 GB, free: 3.965 MB / 0.8698 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.0003665/0.04259, allocations: 368.2 kB / 0.9129 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.04264, allocations: 12.03 kB / 0.9129 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.04268, allocations: 0.9375 kB / 0.9129 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.0428, allocations: 116.5 kB / 0.913 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.04282, allocations: 384 / 0.913 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.04283, allocations: 8.375 kB / 0.913 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.04293, allocations: 57.61 kB / 0.9131 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.04294, allocations: 192 / 0.9131 GB, free: 3.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.04295, allocations: 3.938 kB / 0.9131 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.04296, allocations: 4 kB / 0.9131 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.04299, allocations: 15.92 kB / 0.9131 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.04314, allocations: 105 kB / 0.9132 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.04321, allocations: 66.12 kB / 0.9132 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.04324, allocations: 23.44 kB / 0.9133 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.04342, allocations: 23.92 kB / 0.9133 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.04345, allocations: 37.39 kB / 0.9133 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.04345, allocations: 0 / 0.9133 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001576/0.04361, allocations: 53.62 kB / 0.9134 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.04366, allocations: 81.05 kB / 0.9134 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.04412, allocations: 161.9 kB / 0.9136 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.04413, allocations: 25.95 kB / 0.9136 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.04417, allocations: 130.9 kB / 0.9138 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.04421, allocations: 15.83 kB / 0.9138 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.04423, allocations: 23.38 kB / 0.9138 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.04437, allocations: 0.4884 MB / 0.9143 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-06/0.04438, allocations: 0 / 0.9143 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.0444, allocations: 23.36 kB / 0.9143 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.04443, allocations: 35.3 kB / 0.9143 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.04444, allocations: 0 / 0.9143 GB, free: 1.875 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.851e-05/0.0445, allocations: 49.64 kB / 0.9144 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.04451, allocations: 4 kB / 0.9144 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.04451, allocations: 0 / 0.9144 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.04452, allocations: 4 kB / 0.9144 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.04457, allocations: 7.984 kB / 0.9144 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.04458, allocations: 3.938 kB / 0.9144 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.04459, allocations: 7.953 kB / 0.9144 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.0446, allocations: 4 kB / 0.9144 GB, free: 1.789 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 6.357e-05/0.04466, allocations: 152.6 kB / 0.9145 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.04467, allocations: 4 kB / 0.9145 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.555e-05/0.04476, allocations: 57 kB / 0.9146 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.04477, allocations: 4 kB / 0.9146 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.04477, allocations: 3.938 kB / 0.9146 GB, free: 1.555 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.04478, allocations: 3.984 kB / 0.9146 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.962e-05/0.04485, allocations: 97.27 kB / 0.9147 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.04485, allocations: 0 / 0.9147 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.04486, allocations: 8 kB / 0.9147 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.04486, allocations: 0 / 0.9147 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.04487, allocations: 0 / 0.9147 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.04487, allocations: 3.938 kB / 0.9147 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.04487, allocations: 8.062 kB / 0.9147 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.199e-05/0.04494, allocations: 103.9 kB / 0.9148 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.04496, allocations: 4.328 kB / 0.9148 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-06/0.04497, allocations: 0 / 0.9148 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-06/0.04498, allocations: 4 kB / 0.9148 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.04499, allocations: 7.984 kB / 0.9148 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.04499, allocations: 4 kB / 0.9148 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.04504, allocations: 131.1 kB / 0.915 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.04504, allocations: 0 / 0.915 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001423/0.04518, allocations: 19.88 kB / 0.915 GB, free: 1.113 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001409/0.04532, allocations: 118.2 kB / 0.9151 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.541e-05/0.04539, allocations: 31.61 kB / 0.9151 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.0454, allocations: 0 / 0.9151 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.04541, allocations: 15.69 kB / 0.9151 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.04557, allocations: 13.23 kB / 0.9152 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.04594, allocations: 135.8 kB / 0.9153 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.04597, allocations: 55.61 kB / 0.9153 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.046, allocations: 7.984 kB / 0.9153 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.04606, allocations: 86.19 kB / 0.9154 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/0.04606, allocations: 0 / 0.9154 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of Templates: time 0.002743/0.0488, allocations: 1.106 MB / 0.9165 GB, free: 15.52 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & ./Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.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.6726079899817705]